mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
Convert a few 'unacceptable' characters to underscores in generated documentation filenames.
[SVN r47807]
This commit is contained in:
parent
73e35d2e06
commit
397f0eb312
@ -28,7 +28,7 @@
|
|||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="not($recursive)">
|
<xsl:when test="not($recursive)">
|
||||||
<!-- translate dots into directory separators, and replace illegal file path characters with underscores -->
|
<!-- translate dots into directory separators, and replace illegal file path characters with underscores -->
|
||||||
<xsl:value-of select="translate(normalize-space(translate($basename, '.<>\:*?"|', '/ ' )), ' ', '_')"/>
|
<xsl:value-of select="translate(normalize-space(translate($basename, '.<>\:*?"|,()', '/ ' )), ' ', '_')"/>
|
||||||
<xsl:value-of select="$html.ext"/>
|
<xsl:value-of select="$html.ext"/>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user