diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-10-06 09:03:39 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-10-06 09:03:39 +0000 |
commit | b3fc0160618d89bf63ce87ccad27fc68360c9731 (patch) | |
tree | 40846e972e7611837efbee3cb9c853765ba7faca /doc/manual/quote-literals.xsl | |
parent | 3815d2d463d6cd130e96497e66ff50b9243e59fb (diff) |
* Translate Unicode quote characters to ASCII equivalents when
generating NEWS.txt.
Diffstat (limited to 'doc/manual/quote-literals.xsl')
-rw-r--r-- | doc/manual/quote-literals.xsl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/manual/quote-literals.xsl b/doc/manual/quote-literals.xsl index 983f5ac35..03971bff9 100644 --- a/doc/manual/quote-literals.xsl +++ b/doc/manual/quote-literals.xsl @@ -37,4 +37,8 @@ </xsl:element> </xsl:template> + <xsl:template match="text()"> + <xsl:value-of select="translate(., '‘’“”—', concat("`'", '""-'))" /> + </xsl:template> + </xsl:stylesheet> |