mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2025-08-02 06:44:27 -06:00
Set sanitize marked option to true by default
This commit is contained in:
parent
e32fe3f91c
commit
a0fb97d1f5
@ -1456,6 +1456,7 @@ SimpleMDE.prototype.markdown = function(text) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
markedOptions.sanitize = true;
|
||||||
|
|
||||||
// Set options
|
// Set options
|
||||||
marked.setOptions(markedOptions);
|
marked.setOptions(markedOptions);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user