diff options
author | André Malo <nd@apache.org> | 2012-04-27 21:29:19 +0200 |
---|---|---|
committer | André Malo <nd@apache.org> | 2012-04-27 21:29:19 +0200 |
commit | 74e931e8140708b5744ae240d74ae500316a4e13 (patch) | |
tree | 6482e19852c660a05aba2974f3aab1e2087a3063 /docs | |
parent | fix properties. (diff) | |
download | apache2-74e931e8140708b5744ae240d74ae500316a4e13.tar.xz apache2-74e931e8140708b5744ae240d74ae500316a4e13.zip |
properly enclose inline javascript in HTML output.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331550 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manual/style/xsl/common.xsl | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/manual/style/xsl/common.xsl b/docs/manual/style/xsl/common.xsl index 536db3a248..7d29489fe2 100644 --- a/docs/manual/style/xsl/common.xsl +++ b/docs/manual/style/xsl/common.xsl @@ -313,11 +313,12 @@ </div> <!-- /footer --> -<script type="text/javascript"><![CDATA[ - if (typeof(prettyPrint) !== undefined) { - prettyPrint(); - } -]]></script> +<script type="text/javascript"> +<xsl:text disable-output-escaping="yes"><![CDATA[<!--//--><![CDATA[//><!--]]></xsl:text><![CDATA[ +if (typeof(prettyPrint) !== undefined) { + prettyPrint(); +} +]]><xsl:text disable-output-escaping="yes"><![CDATA[//--><!]]]]>></xsl:text></script> </xsl:template> <!-- /bottom --> |