mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
Fix manual by escaping "
as well
See https://github.com/NixOS/nixpkgs/issues/196651 for context. NOTE: untested because I haven't found a quick way to build the manual without building a nix-darwin configuration.
This commit is contained in:
parent
ef56fd8979
commit
115ab9a0b1
1 changed files with 9 additions and 1 deletions
|
@ -19,7 +19,15 @@
|
|||
<title>Configuration Options</title>
|
||||
<variablelist xml:id="configuration-variable-list">
|
||||
<xsl:for-each select="attrs">
|
||||
<xsl:variable name="id" select="concat('opt-', str:replace(str:replace(str:replace(str:replace(attr[@name = 'name']/string/@value, '*', '_'), '<', '_'), '>', '_'), '?', '_'))" />
|
||||
<xsl:variable name="id" select="
|
||||
concat(
|
||||
'opt-',
|
||||
translate(
|
||||
attr[@name = 'name']/string/@value,
|
||||
'*< >[]:"',
|
||||
'________'
|
||||
)
|
||||
)" />
|
||||
<varlistentry>
|
||||
<term xlink:href="#{$id}">
|
||||
<xsl:attribute name="xml:id"><xsl:value-of select="$id"/></xsl:attribute>
|
||||
|
|
Loading…
Reference in a new issue