Skip to content

Commit

Permalink
Don't escape HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
jpxd committed Sep 13, 2015
1 parent 0af02bf commit 59daefa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mdserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var languageOverrides = {
marked.setOptions({
// gfm: true,
// pendantic: false,
// sanitize: true,
sanitize: false,
highlight: function (code, lang) {
if (languageOverrides[lang]) lang = languageOverrides[lang];
return (lang && hljs.getLanguage(lang)) ? hljs.highlight(lang, code).value : hljs.highlightAuto(code).value;
Expand Down

0 comments on commit 59daefa

Please sign in to comment.