Set sanitize marked option to true by default

This commit is contained in:
Nathanaël Jourdane 2019-02-07 11:45:25 +01:00
parent e32fe3f91c
commit a0fb97d1f5

View File

@ -1456,6 +1456,7 @@ SimpleMDE.prototype.markdown = function(text) {
} }
} }
markedOptions.sanitize = true;
// Set options // Set options
marked.setOptions(markedOptions); marked.setOptions(markedOptions);