$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: daniel_james_at_[hidden]
Date: 2008-04-30 19:08:21
Author: danieljames
Date: 2008-04-30 19:08:20 EDT (Wed, 30 Apr 2008)
New Revision: 44958
URL: http://svn.boost.org/trac/boost/changeset/44958
Log:
Don't generated file names with spaces, and replace multiple consecutive underscores with a single underscore. Refs #1705
Text files modified:
branches/doc/tools/boostbook/xsl/chunk-common.xsl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: branches/doc/tools/boostbook/xsl/chunk-common.xsl
==============================================================================
--- branches/doc/tools/boostbook/xsl/chunk-common.xsl (original)
+++ branches/doc/tools/boostbook/xsl/chunk-common.xsl 2008-04-30 19:08:20 EDT (Wed, 30 Apr 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( $basename, '.<>\:*?"|', '/_______' )"/>
+ <xsl:value-of select="translate(normalize-space(translate($basename, '._<>\:*?"|', '/ ' )), ' ', '_')"/>
<xsl:value-of select="$html.ext"/>
</xsl:when>
<xsl:otherwise>