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