Merge pull request #144287 from rycee/fix-escapexml-example
lib: fix escapeXML example in documentation
This commit is contained in:
commit
5283247e33
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ rec {
|
|||
|
||||
Example:
|
||||
escapeXML ''"test" 'test' < & >''
|
||||
=> "\\[\\^a-z]\\*"
|
||||
=> ""test" 'test' < & >"
|
||||
*/
|
||||
escapeXML = builtins.replaceStrings
|
||||
["\"" "'" "<" ">" "&"]
|
||||
|
|
Loading…
Reference in a new issue