mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2026-03-14 22:55:44 +01:00
Set sanitize marked option to true by default
This commit is contained in:
parent
e32fe3f91c
commit
a0fb97d1f5
1 changed files with 1 additions and 0 deletions
|
|
@ -1456,6 +1456,7 @@ SimpleMDE.prototype.markdown = function(text) {
|
|||
}
|
||||
}
|
||||
|
||||
markedOptions.sanitize = true;
|
||||
|
||||
// Set options
|
||||
marked.setOptions(markedOptions);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue