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