Skip to content

Commit 510121e

Browse files
authored
Merge branch 'master' into prevent-xss-in-svg-and-latex
2 parents 57651a6 + 8d41559 commit 510121e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

notebook.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
nb.display = {};
112112
nb.display.text = function (text) {
113113
var el = makeElement("pre", [ "text-output" ]);
114-
el.innerHTML = nb.highlighter(nb.ansi(joinText(text)), el);
114+
el.innerHTML = nb.sanitizer(nb.highlighter(nb.ansi(joinText(text)), el));
115115
return el;
116116
};
117117
nb.display["text/plain"] = nb.display.text;

notebook.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)