lib: fix escapeXML example in documentation
The previous example output was forgotten copy-paste from some other function.
This commit is contained in:
parent
d4aacdf324
commit
c7678aff1b
@ -369,7 +369,7 @@ rec {
|
||||
|
||||
Example:
|
||||
escapeXML ''"test" 'test' < & >''
|
||||
=> "\\[\\^a-z]\\*"
|
||||
=> ""test" 'test' < & >"
|
||||
*/
|
||||
escapeXML = builtins.replaceStrings
|
||||
["\"" "'" "<" ">" "&"]
|
||||
|
Loading…
Reference in New Issue
Block a user