lib: fix escapeXML example in documentation
The previous example output was forgotten copy-paste from some other
function.
commitc7678aff1b11014160d64b82853d849ef4ce2465
authorRobert Helgesson <robert@rycee.net>
dateTue 2 Nov 2021, 22:43 (5 years ago)
parentd4aacdf
lib/strings.nix+1−1
@@ -369,7 +369,7 @@ rec {
369369
370370 Example:
371371 escapeXML ''"test" 'test' < & >''
372− => "\\[\\^a-z]\\*"
372+ => ""test" 'test' < & >"
373373 */
374374 escapeXML = builtins.replaceStrings
375375 ["\"" "'" "<" ">" "&"]