]> granicus.if.org Git - apache/commitdiff
xsl fixes from trunk
authorAndré Malo <nd@apache.org>
Fri, 27 Apr 2012 19:54:13 +0000 (19:54 +0000)
committerAndré Malo <nd@apache.org>
Fri, 27 Apr 2012 19:54:13 +0000 (19:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1331559 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/xsl/common.xsl

index 35595e1c7921d622222a70adc9070bf21dc54e11..7d29489fe2cb8f762946f422a91f0d1edcce3232 100644 (file)
@@ -45,7 +45,7 @@
 <!-- space separated list of blockelements defined in common.dtd -->
 <!--    used for inline content catching in <example>s           -->
 <xsl:variable name="blockelements">
-    p  example  note  table  ul  ol  dl  pre  img  blockquote
+    p  example  note  table  ul  ol  dl  pre  highlight img  blockquote
 </xsl:variable>
 
 <!-- relative path to /manual/ -->
     <xsl:call-template name="super-menu"/>
 
 </div> <!-- /footer -->
+
 <script type="text/javascript">
-    if (typeof(prettyPrint) !== undefined) {
-        prettyPrint();
-    }
-</script>
+<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 -->
 
 </xsl:template>
 <!-- /higlight -->
 
+
 <!-- ==================================================================== -->
 <!-- (sub)section titles                                                  -->
 <!-- ==================================================================== -->