summaryrefslogtreecommitdiffstats
path: root/doc/html.xsl.in
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-09-12 23:12:15 (GMT)
committerJason Evans <jasone@canonware.com>2016-09-12 23:31:21 (GMT)
commitd4ce47e7fb6af53fd0460052100382c728b58566 (patch)
treec2f7d2b674194af6eee1543121f484811e2e4a61 /doc/html.xsl.in
parentc716c1e5318c19569581637fd33220999c0d6a4b (diff)
downloadjemalloc-d4ce47e7fb6af53fd0460052100382c728b58566.zip
jemalloc-d4ce47e7fb6af53fd0460052100382c728b58566.tar.gz
jemalloc-d4ce47e7fb6af53fd0460052100382c728b58566.tar.bz2
Change html manual encoding to UTF-8.
This works around GitHub's broken automatic reformatting from ISO-8859-1 to UTF-8 when serving static html. Remove <parameter/> from e.g. <function>malloc<parameter/></function>, add a custom template that does not append parentheses, and manually specify them, e.g. <function>malloc()</function>. This works around apparently broken XSL formatting that causes <code/> to be emitted in html (rather than <code></code>, or better yet, nothing).
Diffstat (limited to 'doc/html.xsl.in')
-rw-r--r--doc/html.xsl.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/html.xsl.in b/doc/html.xsl.in
index a91d974..ec4fa65 100644
--- a/doc/html.xsl.in
+++ b/doc/html.xsl.in
@@ -1,4 +1,5 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="@XSLROOT@/html/docbook.xsl"/>
<xsl:import href="@abs_srcroot@doc/stylesheet.xsl"/>
+ <xsl:output method="xml" encoding="utf-8"/>
</xsl:stylesheet>