Convert a few 'unacceptable' characters to underscores in generated documentation filenames.

[SVN r47807]
This commit is contained in:
Daniel James 2008-07-25 17:52:11 +00:00
parent 73e35d2e06
commit 397f0eb312

View File

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