mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
* Translate Unicode quote characters to ASCII equivalents when
generating NEWS.txt.
This commit is contained in:
parent
3815d2d463
commit
b3fc016061
2 changed files with 16 additions and 12 deletions
|
@ -37,4 +37,8 @@
|
|||
</xsl:element>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="text()">
|
||||
<xsl:value-of select="translate(., '‘’“”—', concat("`'", '""-'))" />
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue