Skip to content

Commit

Permalink
Merge pull request #6160 from krassowski/patch-1
Browse files Browse the repository at this point in the history
Use default JupyterLab CSS sanitizer options for Markdown
  • Loading branch information
Zsailer authored Sep 3, 2021
2 parents b75ee54 + c64db92 commit c06c340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebook/static/base/js/markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ define([
html = mathjaxutils.replace_math(html, math);
}
if(options.sanitize) {
html = $(security.sanitize_html_and_parse(html));
html = $(security.sanitize_html_and_parse(html, true));
}
}
callback(err, html);
Expand Down

0 comments on commit c06c340

Please sign in to comment.