Merge pull request #5073 from Rotzbua/chore_dompurify_flag

chore(editor): update `DOMPurify` flag
pull/5078/head
Nick O'Leary 2025-03-06 09:43:11 +00:00 committed by GitHub
commit 336c73fd2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ RED.utils = (function() {
function renderMarkdown(txt) {
var rendered = _marked.parse(txt);
var cleaned = DOMPurify.sanitize(rendered, {SAFE_FOR_JQUERY: true})
const cleaned = DOMPurify.sanitize(rendered);
return cleaned;
}