mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
Fix the "test for nothing was streamed" so it doesn't add empty elements -- but only when there wasn't already something there.
This commit is contained in:
parent
a9453360a9
commit
b471db22e0
@ -57,7 +57,6 @@ IPython.utils = (function (IPython) {
|
||||
var cmds = [];
|
||||
var opener = "";
|
||||
var closer = "";
|
||||
// \r does nothing, so shouldn't be included
|
||||
while (re.test(txt)) {
|
||||
var cmds = txt.match(re)[1].split(";");
|
||||
closer = opened?"</span>":"";
|
||||
|
Loading…
Reference in New Issue
Block a user