Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2013 00:58:22 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r43191 - head/share/xml
Message-ID:  <201311140058.rAE0wMcN073007@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Thu Nov 14 00:58:21 2013
New Revision: 43191
URL: http://svnweb.freebsd.org/changeset/doc/43191

Log:
  Honor &doc.html.charset; for html and html-split output.

Modified:
  head/share/xml/freebsd-xhtml-common.xsl
  head/share/xml/freebsd-xhtml.xsl

Modified: head/share/xml/freebsd-xhtml-common.xsl
==============================================================================
--- head/share/xml/freebsd-xhtml-common.xsl	Thu Nov 14 00:51:34 2013	(r43190)
+++ head/share/xml/freebsd-xhtml-common.xsl	Thu Nov 14 00:58:21 2013	(r43191)
@@ -18,6 +18,7 @@
 
   <!-- Redefine variables, and replace templates as necessary here -->
 
+  <xsl:param name="chunker.output.encoding" select="'&doc.html.charset;'"/>
   <xsl:param name="use.id.as.filename" select="1"/>
   <xsl:param name="html.stylesheet" select="'docbook.css'"/>
   <xsl:param name="link.mailto.url" select="'doc@FreeBSD.org'"/>

Modified: head/share/xml/freebsd-xhtml.xsl
==============================================================================
--- head/share/xml/freebsd-xhtml.xsl	Thu Nov 14 00:51:34 2013	(r43190)
+++ head/share/xml/freebsd-xhtml.xsl	Thu Nov 14 00:58:21 2013	(r43191)
@@ -14,5 +14,7 @@
 
   <xsl:import href="http://www.FreeBSD.org/XML/lang/share/xml/freebsd-xhtml.xsl"/>;
 
+  <xsl:output encoding="&doc.html.charset;" />
+
   <xsl:param name="html.chunk" select="'0'"/>
 </xsl:stylesheet>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311140058.rAE0wMcN073007>