mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
Boostbook: Fix typo in id truncation.
[SVN r77599]
This commit is contained in:
parent
c2fe01eb66
commit
dd17d84274
@ -236,7 +236,7 @@
|
|||||||
<xsl:variable name="normalized" select="translate(normalize-space(translate($part, '.<>;\:*?"|_', ' ')), ' ', '_')"/>
|
<xsl:variable name="normalized" select="translate(normalize-space(translate($part, '.<>;\:*?"|_', ' ')), ' ', '_')"/>
|
||||||
<xsl:value-of select =
|
<xsl:value-of select =
|
||||||
"concat(
|
"concat(
|
||||||
substring($normalized, 1, $boost.max.id.part.length - string-length(generate-id(.) - 1)),
|
substring($normalized, 1, $boost.max.id.part.length - string-length(generate-id(.)) - 1),
|
||||||
concat('_', generate-id(.)))"/>
|
concat('_', generate-id(.)))"/>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user