mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
Manual: Render null values
This commit is contained in:
parent
562b453b93
commit
c407db6316
1 changed files with 5 additions and 0 deletions
|
@ -94,6 +94,11 @@
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
||||||
|
<xsl:template match="null">
|
||||||
|
<xsl:text>null</xsl:text>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
|
||||||
<xsl:template match="string">
|
<xsl:template match="string">
|
||||||
<!-- !!! escaping -->
|
<!-- !!! escaping -->
|
||||||
<xsl:text>"</xsl:text><xsl:value-of select="str:replace(str:replace(str:replace(@value, '\', '\\'), '"', '\"'), '
', '\n')" /><xsl:text>"</xsl:text>
|
<xsl:text>"</xsl:text><xsl:value-of select="str:replace(str:replace(str:replace(@value, '\', '\\'), '"', '\"'), '
', '\n')" /><xsl:text>"</xsl:text>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue