Skip to content

Commit c06c340

Browse files
authored
Merge pull request #6160 from krassowski/patch-1
Use default JupyterLab CSS sanitizer options for Markdown
2 parents b75ee54 + c64db92 commit c06c340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebook/static/base/js/markdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ define([
106106
html = mathjaxutils.replace_math(html, math);
107107
}
108108
if(options.sanitize) {
109-
html = $(security.sanitize_html_and_parse(html));
109+
html = $(security.sanitize_html_and_parse(html, true));
110110
}
111111
}
112112
callback(err, html);

0 commit comments

Comments
 (0)