mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 11:19:19 +01:00
Generate utf-8 encoded html
This removes several problems with wrong encodings... The sed for © is not needed anymore tidy.conf has to be changed to remove specification of latin1 as input and output encodings.
This commit is contained in:
parent
5e8bab73a1
commit
1fdbce2c4e
1
Makefile
1
Makefile
@ -57,7 +57,6 @@ book: validate profile-html
|
|||||||
true; \
|
true; \
|
||||||
/bin/bash obfuscate.sh $$filename; \
|
/bin/bash obfuscate.sh $$filename; \
|
||||||
sed -e "s@text/html@application/xhtml+xml@g" \
|
sed -e "s@text/html@application/xhtml+xml@g" \
|
||||||
-e "s/\xa9/\©/ " \
|
|
||||||
-i $$filename; \
|
-i $$filename; \
|
||||||
done;
|
done;
|
||||||
|
|
||||||
|
@ -10,9 +10,6 @@
|
|||||||
<!-- Upstream XHTML presentation templates -->
|
<!-- Upstream XHTML presentation templates -->
|
||||||
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
|
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
|
||||||
|
|
||||||
<!-- Use ISO-8859-1 for output instead of default UTF-8 -->
|
|
||||||
<xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
|
|
||||||
|
|
||||||
<!-- Including our customized elements templates -->
|
<!-- Including our customized elements templates -->
|
||||||
<xsl:include href="common.xsl"/>
|
<xsl:include href="common.xsl"/>
|
||||||
<xsl:include href="xhtml/lfs-admon.xsl"/>
|
<xsl:include href="xhtml/lfs-admon.xsl"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user