Boostbook: Merge id truncation fix.

[SVN r77671]
This commit is contained in:
Daniel James 2012-03-31 19:31:12 +00:00
parent b684ebaa7c
commit a2f5e2c6c0

View File

@ -236,7 +236,7 @@
<xsl:variable name="normalized" select="translate(normalize-space(translate($part, '.&lt;&gt;;\:*?&quot;|_', ' ')), ' ', '_')"/>
<xsl:value-of select =
"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(.)))"/>
</xsl:when>
<xsl:otherwise>