]> sourceware.org Git - bzip2.git/commitdiff
Use UTF-8 encoding and include bzip.css as link for HTML manual.
authorMark Wielaard <mark@klomp.org>
Sun, 23 Jun 2019 00:14:23 +0000 (02:14 +0200)
committerMark Wielaard <mark@klomp.org>
Sun, 23 Jun 2019 00:14:23 +0000 (02:14 +0200)
bz-html.xsl

index 1785fffbc956835900ca6171a64636822e0ef9bf..b6000d586d7dd7e6a216c5a00e073a171e6d15b2 100644 (file)
@@ -7,11 +7,14 @@
 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
 <xsl:import href="bz-common.xsl"/>
 
-<!-- use 8859-1 encoding -->
-<xsl:output method="html" encoding="ISO-8859-1" indent="yes"/>
+<!-- use UTF-8 encoding -->
+<xsl:output method="html" encoding="UTF-8" indent="yes"/>
 
-<!-- we include the css directly when generating one large file -->
-<xsl:template name="user.head.content">  
+<!-- we include the css as link and directly when generating one large file -->
+<xsl:template name="user.head.content">
+  <xsl:text disable-output-escaping="yes">
+<![CDATA[<]]>link rel="stylesheet" type="text/css" href="bzip.css" />
+  </xsl:text>
   <style type="text/css" media="screen">
     <xsl:text>&bz-css;</xsl:text>
   </style>
This page took 0.024749 seconds and 5 git commands to generate.