Fix the handling of spaces in <programlisting>

(a.k.a. \code...\endcode) environments


[SVN r20319]
This commit is contained in:
Douglas Gregor 2003-10-09 04:43:42 +00:00
parent 0d101f6515
commit 13f2d55247

View File

@ -1135,10 +1135,14 @@ Cannot handle memberdef element with kind=<xsl:value-of select="@kind"/>
</programlisting> </programlisting>
</xsl:template> </xsl:template>
<xsl:template match="highlight|sp" mode="programlisting"> <xsl:template match="highlight|codeline" mode="programlisting">
<xsl:apply-templates mode="programlisting"/> <xsl:apply-templates mode="programlisting"/>
</xsl:template> </xsl:template>
<xsl:template match="sp" mode="programlisting">
<xsl:text> </xsl:text>
</xsl:template>
<xsl:template match="*" mode="programlisting"> <xsl:template match="*" mode="programlisting">
<xsl:apply-templates select="." mode="passthrough"/> <xsl:apply-templates select="." mode="passthrough"/>
</xsl:template> </xsl:template>