mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 02:43:58 +00:00
Use XML entities instead of C escapes for new lines and tabs
[SVN r62284]
This commit is contained in:
parent
fe40c3ad59
commit
3881e34fd5
@ -167,7 +167,7 @@
|
||||
<xsl:with-param name="pos" select="$pos + 1"/>
|
||||
</xsl:call-template>
|
||||
</xsl:when>
|
||||
<xsl:when test="contains(' \t', substring($text, $pos, 1))">
|
||||
<xsl:when test="contains(' 	', substring($text, $pos, 1))">
|
||||
<xsl:call-template name="highlight-text-pp-directive-length">
|
||||
<xsl:with-param name="text" select="$text"/>
|
||||
<xsl:with-param name="pos" select="$pos + 1"/>
|
||||
@ -229,10 +229,10 @@
|
||||
</xsl:when>
|
||||
<xsl:when test="substring($text, 1, 2) = '//'">
|
||||
<xsl:call-template name="highlight-comment">
|
||||
<xsl:with-param name="text" select="substring-before($text, '\n')"/>
|
||||
<xsl:with-param name="text" select="substring-before($text, '
')"/>
|
||||
</xsl:call-template>
|
||||
<xsl:call-template name="highlight-text-impl-root">
|
||||
<xsl:with-param name="text" select="concat('\n', substring-after($text, '\n'))"/>
|
||||
<xsl:with-param name="text" select="concat('
', substring-after($text, '
'))"/>
|
||||
</xsl:call-template>
|
||||
</xsl:when>
|
||||
<xsl:when test="substring($text, 1, 2) = '/*'">
|
||||
|
Loading…
x
Reference in New Issue
Block a user