summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2019-06-23 02:14:23 +0200
committerMark Wielaard <mark@klomp.org>2019-06-23 02:14:23 +0200
commitac9b3847405574dfd6022c1a9347a4449e8c1510 (patch)
tree3928f60734e094403ad1943095efc6918785ff87
parentAdjust bzip.css images to new https://sourceware.org/bzip2/ location. (diff)
downloadbzip2-ac9b3847405574dfd6022c1a9347a4449e8c1510.tar.gz
bzip2-ac9b3847405574dfd6022c1a9347a4449e8c1510.tar.bz2
bzip2-ac9b3847405574dfd6022c1a9347a4449e8c1510.tar.xz
Use UTF-8 encoding and include bzip.css as link for HTML manual.
-rw-r--r--bz-html.xsl11
1 files changed, 7 insertions, 4 deletions
diff --git a/bz-html.xsl b/bz-html.xsl
index 1785fff..b6000d5 100644
--- a/bz-html.xsl
+++ b/bz-html.xsl
@@ -7,11 +7,14 @@
7<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/> 7<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
8<xsl:import href="bz-common.xsl"/> 8<xsl:import href="bz-common.xsl"/>
9 9
10<!-- use 8859-1 encoding --> 10<!-- use UTF-8 encoding -->
11<xsl:output method="html" encoding="ISO-8859-1" indent="yes"/> 11<xsl:output method="html" encoding="UTF-8" indent="yes"/>
12 12
13<!-- we include the css directly when generating one large file --> 13<!-- we include the css as link and directly when generating one large file -->
14<xsl:template name="user.head.content"> 14<xsl:template name="user.head.content">
15 <xsl:text disable-output-escaping="yes">
16<![CDATA[<]]>link rel="stylesheet" type="text/css" href="bzip.css" />
17 </xsl:text>
15 <style type="text/css" media="screen"> 18 <style type="text/css" media="screen">
16 <xsl:text>&bz-css;</xsl:text> 19 <xsl:text>&bz-css;</xsl:text>
17 </style> 20 </style>