Fix the "test for nothing was streamed" so it doesn't add empty elements -- but only when there wasn't already something there.

Michael Droettboom 14 years ago
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…
Cancel
Save