git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99645
13f79535-47bb-0310-9956-
ffa450edef68
<!-- 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>