Test fix + empty relation

This commit is contained in:
Knut Sveidqvist
2021-09-29 08:57:54 +02:00
parent db8517a7f9
commit e4e8a00acc
2 changed files with 1 additions and 4 deletions

View File

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