Skip to content

Commit

Permalink
sanitize
Browse files Browse the repository at this point in the history
  • Loading branch information
dark-flames committed Jan 31, 2018
1 parent 7598143 commit cc48acb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/plugin/MarkdownParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ export function MarkdownParser (code, stringMap) {
}

marked.setOptions({
renderer: renderer
renderer: renderer,
sanitize: true
})
return marked(code)
}

0 comments on commit cc48acb

Please sign in to comment.