Use default JupyterLab CSS sanitizer options for Markdown

Michał Krassowski 4 years ago committed by GitHub
parent b75ee54f56
commit c64db928f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);

Loading…
Cancel
Save