Fix sinitizeText

Signed-off-by: Ajay Bura <[email protected]>
This commit is contained in:
Ajay Bura committed 2021-11-23 12:30:40 +05:30
1 parent f897809202
commit 72f476a750
1 file changed
+1 -1
+1 -1
View File
@@ -124,5 +124,5 @@ export function sanitizeText(body) {
'"': '&quot;',
"'": '&#39;',
};
return body.replace(/[&<>]/g, (tag) => tagsToReplace[tag] || tag);
return body.replace(/[&<>'"]/g, (tag) => tagsToReplace[tag] || tag);
}