Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2008-07-25 13:52:11


Author: danieljames
Date: 2008-07-25 13:52:11 EDT (Fri, 25 Jul 2008)
New Revision: 47807
URL: http://svn.boost.org/trac/boost/changeset/47807

Log:
Convert a few 'unacceptable' characters to underscores in generated documentation filenames.
Text files modified:
   trunk/tools/boostbook/xsl/chunk-common.xsl | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/tools/boostbook/xsl/chunk-common.xsl
==============================================================================
--- trunk/tools/boostbook/xsl/chunk-common.xsl (original)
+++ trunk/tools/boostbook/xsl/chunk-common.xsl 2008-07-25 13:52:11 EDT (Fri, 25 Jul 2008)
@@ -28,7 +28,7 @@
     <xsl:choose>
         <xsl:when test="not($recursive)">
             <!-- translate dots into directory separators, and replace illegal file path characters with underscores -->
- <xsl:value-of select="translate(normalize-space(translate($basename, '.&lt;&gt;\:*?&quot;|', '/ ' )), ' ', '_')"/>
+ <xsl:value-of select="translate(normalize-space(translate($basename, '.&lt;&gt;\:*?&quot;|,()', '/ ' )), ' ', '_')"/>
             <xsl:value-of select="$html.ext"/>
         </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