Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77599 - trunk/tools/boostbook/xsl
From: dnljms_at_[hidden]
Date: 2012-03-27 19:01:18


Author: danieljames
Date: 2012-03-27 19:01:18 EDT (Tue, 27 Mar 2012)
New Revision: 77599
URL: http://svn.boost.org/trac/boost/changeset/77599

Log:
Boostbook: Fix typo in id truncation.
Text files modified:
   trunk/tools/boostbook/xsl/lookup.xsl | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/tools/boostbook/xsl/lookup.xsl
==============================================================================
--- trunk/tools/boostbook/xsl/lookup.xsl (original)
+++ trunk/tools/boostbook/xsl/lookup.xsl 2012-03-27 19:01:18 EDT (Tue, 27 Mar 2012)
@@ -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>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk