Skip to content

Commit 9334b53

Browse files
authored
add a link which documents the valid xml chars
1 parent 3f891a1 commit 9334b53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SIL.LCModel.Core/Text/TsStringSerializer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ public static string StripInvalidXmlChars(string text)
193193
{
194194
// Remove characters not allowed in XML:
195195
// Valid are: #x9, #xA, #xD, #x20-#xD7FF, #xE000-#xFFFD.
196+
// Documented here: https://en.wikipedia.org/wiki/Valid_characters_in_XML
196197
return InvalidXmlRegex.Replace(text, string.Empty);
197198
}
198199

0 commit comments

Comments
 (0)