We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7fb65b commit a0ffb02Copy full SHA for a0ffb02
src/lib/serializers/Html.ts
@@ -8,7 +8,7 @@ class HtmlSerializer implements Serializer {
8
}
9
10
_htmlentities_encode(string) {
11
- return string.replace(/[\u00A0-\u9999<>&"]/g, char => '&#' + char.charCodeAt(0) + ';')
+ return string.replace(/[<>&"']/g, char => '&#' + char.charCodeAt(0) + ';')
12
13
14
_serializeFolder(folder, indent) {
0 commit comments