mirror of https://github.com/node-red/node-red.git
Merge pull request #5073 from Rotzbua/chore_dompurify_flag
chore(editor): update `DOMPurify` flagpull/5078/head
commit
336c73fd2a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue