mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
Fix the handling of spaces in <programlisting>
(a.k.a. \code...\endcode) environments [SVN r20319]
This commit is contained in:
parent
0d101f6515
commit
13f2d55247
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user