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 | |
parent | d4aacdf32463964d565194762faaaf0e81ecdb98 (diff) | |
download | nixpkgs-c7678aff1b11014160d64b82853d849ef4ce2465.tar nixpkgs-c7678aff1b11014160d64b82853d849ef4ce2465.tar.gz nixpkgs-c7678aff1b11014160d64b82853d849ef4ce2465.tar.bz2 nixpkgs-c7678aff1b11014160d64b82853d849ef4ce2465.tar.lz nixpkgs-c7678aff1b11014160d64b82853d849ef4ce2465.tar.xz nixpkgs-c7678aff1b11014160d64b82853d849ef4ce2465.tar.zst nixpkgs-c7678aff1b11014160d64b82853d849ef4ce2465.zip |
lib: fix escapeXML example in documentation
The previous example output was forgotten copy-paste from some other function.
-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 de135d1c274..b2fd495e4c8 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 ["\"" "'" "<" ">" "&"] |