Hi,

I think that http://httpd.apache.org/docs/2.4/sitemap.html#comment_3895 is also related to this change.

CJ



Le 17/04/2015 21:46, n...@apache.org a écrit :
Author: nd
Date: Fri Apr 17 19:46:28 2015
New Revision: 1674382

URL: http://svn.apache.org/r1674382
Log:
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

Modified:
     httpd/httpd/trunk/docs/manual/style/xsl/common.xsl

Modified: httpd/httpd/trunk/docs/manual/style/xsl/common.xsl
URL: 
http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/xsl/common.xsl?rev=1674382&r1=1674381&r2=1674382&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/xsl/common.xsl (original)
+++ httpd/httpd/trunk/docs/manual/style/xsl/common.xsl Fri Apr 17 19:46:28 2015
@@ -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>





---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscr...@httpd.apache.org
For additional commands, e-mail: docs-h...@httpd.apache.org

Reply via email to