about summary refs log tree commit diff
path: root/doc/manual/quote-literals.xsl
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-10-06T09·03+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-10-06T09·03+0000
commitb3fc0160618d89bf63ce87ccad27fc68360c9731 (patch)
tree40846e972e7611837efbee3cb9c853765ba7faca /doc/manual/quote-literals.xsl
parent3815d2d463d6cd130e96497e66ff50b9243e59fb (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.xsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/manual/quote-literals.xsl b/doc/manual/quote-literals.xsl
index 983f5ac35068..03971bff90dc 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(&quot;`'&quot;, '&quot;&quot;-'))" />
+  </xsl:template>
+  
 </xsl:stylesheet>