]> granicus.if.org Git - apache/commitdiff
fix a space problem
authorAndré Malo <nd@apache.org>
Tue, 29 Apr 2003 20:06:21 +0000 (20:06 +0000)
committerAndré Malo <nd@apache.org>
Tue, 29 Apr 2003 20:06:21 +0000 (20:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99645 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/man/manpage.xsl

index 9d6c41494aaa9bf1e50c5d0c0a553ff15a2f9452..3a56afa4864dd89dc073bd18d6933a30e0410ad1 100644 (file)
@@ -374,11 +374,16 @@ FATAL: only tables with two (2) columns are supported.
 <!-- text filter                                                          -->
 <!-- ==================================================================== -->
 <xsl:template match="text()">
-<xsl:if test="normalize-space(.) != ''">
+<xsl:choose>
+<xsl:when test="normalize-space(.) != ''">
 <xsl:call-template name="filter.escape">
     <xsl:with-param name="text" select="." />
 </xsl:call-template>
-</xsl:if>
+</xsl:when>
+<xsl:otherwise>
+    <xsl:text> </xsl:text>
+</xsl:otherwise>
+</xsl:choose>
 </xsl:template>