summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Malo <nd@apache.org>2015-04-17 21:46:28 +0200
committerAndré Malo <nd@apache.org>2015-04-17 21:46:28 +0200
commite4ef6e7dbc92fea938371c29baaed6a1cdcafac4 (patch)
tree3cde76fab08566a62757c27c8019638778b50d44
parentupdate transformation (diff)
downloadapache2-e4ef6e7dbc92fea938371c29baaed6a1cdcafac4.tar.xz
apache2-e4ef6e7dbc92fea938371c29baaed6a1cdcafac4.zip
The good thing about standards is that there are so many to choose from.
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
-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>