summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/manual/style/xsl/common.xsl16
1 files changed, 6 insertions, 10 deletions
diff --git a/docs/manual/style/xsl/common.xsl b/docs/manual/style/xsl/common.xsl
index 00281f350b..4743f99a32 100644
--- a/docs/manual/style/xsl/common.xsl
+++ b/docs/manual/style/xsl/common.xsl
@@ -103,13 +103,10 @@
<!-- ==================================================================== -->
<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>
@@ -125,9 +122,8 @@
<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>