diff options
author | Robert Helgesson <robert@rycee.net> | 2021-11-02 22:43:25 +0100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2021-11-02 22:43:25 +0100 |
commit | c7678aff1b11014160d64b82853d849ef4ce2465 (patch) | |
tree | c154720feb8b081cd14f529d479755be6cec6bb1 /lib/strings.nix | |
parent | d4aacdf32463964d565194762faaaf0e81ecdb98 (diff) |
lib: fix escapeXML example in documentation
The previous example output was forgotten copy-paste from some other function.
Diffstat (limited to 'lib/strings.nix')
-rw-r--r-- | lib/strings.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strings.nix b/lib/strings.nix index de135d1c2746e..b2fd495e4c841 100644 --- a/lib/strings.nix +++ b/lib/strings.nix @@ -369,7 +369,7 @@ rec { Example: escapeXML ''"test" 'test' < & >'' - => "\\[\\^a-z]\\*" + => ""test" 'test' < & >" */ escapeXML = builtins.replaceStrings ["\"" "'" "<" ">" "&"] |