diff options
author | Robert Helgesson <robert@rycee.net> | 2021-10-03 11:28:03 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2021-10-03 11:28:03 +0200 |
commit | e75f346aa309515fa220f6d2124a27f72e245b69 (patch) | |
tree | 9980881c64dd5b4f9b4076abde8a62414a7d7f30 /lib/default.nix | |
parent | a7eb89bdba881d71c49b94ea3e12af9b8b10768d (diff) |
lib: add function escapeXML
Given a string, this function returns a string that can be inserted
verbatim in an XML document.
Diffstat (limited to 'lib/default.nix')
-rw-r--r-- | lib/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/default.nix b/lib/default.nix index bb99a1be8a8c..cabc1549c07b 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -91,7 +91,7 @@ let concatImapStringsSep makeSearchPath makeSearchPathOutput makeLibraryPath makeBinPath optionalString hasInfix hasPrefix hasSuffix stringToCharacters stringAsChars escape - escapeShellArg escapeShellArgs escapeRegex replaceChars lowerChars + escapeShellArg escapeShellArgs escapeRegex escapeXML replaceChars lowerChars upperChars toLower toUpper addContextFrom splitString removePrefix removeSuffix versionOlder versionAtLeast getName getVersion |