#2219 Moving check earlier in the chain for better effect

This commit is contained in:
Knut Sveidqvist
2021-08-03 20:10:15 +02:00
parent 68cd425950
commit 73ff972789
4 changed files with 27 additions and 5 deletions

View File

@@ -65,7 +65,6 @@ const sanitizeMore = (text, config) => {
export const sanitizeText = (text, config) => {
const txt = sanitizeMore(DOMPurify.sanitize(text), config);
return txt;
};