diff options
author | André Malo <nd@apache.org> | 2015-04-17 20:04:20 +0000 |
---|---|---|
committer | André Malo <nd@apache.org> | 2015-04-17 20:04:20 +0000 |
commit | e94aae2b19a185674e3002bc315a1e8ff7ea1f56 (patch) | |
tree | b57e6ed0773640a4c97dbbb849e1a7da1e19192c /docs/manual/style | |
parent | ccd62f339a17541a3b97145ea7fdbae7208ef8e5 (diff) | |
download | httpd-e94aae2b19a185674e3002bc315a1e8ff7ea1f56.tar.gz |
backport http://svn.apache.org/r1674382
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@1674391 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/style')
-rw-r--r-- | docs/manual/style/xsl/common.xsl | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/docs/manual/style/xsl/common.xsl b/docs/manual/style/xsl/common.xsl index 0df06dd4e8..158927298a 100644 --- a/docs/manual/style/xsl/common.xsl +++ b/docs/manual/style/xsl/common.xsl @@ -100,13 +100,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> @@ -122,9 +119,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> |