Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=55741
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1674382 13f79535-47bb-0310-9956-
ffa450edef68
<!-- ==================================================================== -->
<xsl:template name="head">
<head>
- <!-- the meta element is necessary for offline handling like CHM -->
- <xsl:choose>
- <xsl:when test="$is-chm or $is-zip">
- <meta http-equiv="Content-Type"
- content="text/html; charset={$output-encoding}" />
- </xsl:when>
- <xsl:otherwise>
+ &lf;
+ <meta http-equiv="Content-Type"
+ content="text/html; charset={$output-encoding}" />&lf;
+ <xsl:if test="not($is-chm or $is-zip)">
<xsl:comment>
&lf;
<xsl:text> </xsl:text>
<xsl:text>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</xsl:text>
&lf;
<xsl:text> </xsl:text>
- </xsl:comment>
- </xsl:otherwise>
- </xsl:choose>&lf;
+ </xsl:comment>&lf;
+ </xsl:if>
<title>
<xsl:choose>