mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
* Escape strings.
svn path=/nixos/branches/modular-nixos/; revision=16374
This commit is contained in:
parent
1424399002
commit
f076849acd
@ -72,7 +72,7 @@
|
||||
|
||||
<xsl:template match="string">
|
||||
<!-- !!! escaping -->
|
||||
<xsl:text>"</xsl:text><xsl:value-of select="@value" /><xsl:text>"</xsl:text>
|
||||
<xsl:text>"</xsl:text><xsl:value-of select="str:replace(str:replace(str:replace(@value, '\', '\\'), '"', '\"'), '
', '\n')" /><xsl:text>"</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user