Show More
@@ -446,7 +446,7 var IPython = (function (IPython) { | |||||
446 | var pre = this.element.find('div.'+subclass).last().find('pre'); |
|
446 | var pre = this.element.find('div.'+subclass).last().find('pre'); | |
447 | var html = utils.fixCarriageReturn( |
|
447 | var html = utils.fixCarriageReturn( | |
448 | pre.html() + utils.fixConsole(text)); |
|
448 | pre.html() + utils.fixConsole(text)); | |
449 |
// The only user content injected with |
|
449 | // The only user content injected with this HTML call is | |
450 | // escaped by the fixConsole() method. |
|
450 | // escaped by the fixConsole() method. | |
451 | pre.html(html); |
|
451 | pre.html(html); | |
452 | return; |
|
452 | return; | |
@@ -549,7 +549,7 var IPython = (function (IPython) { | |||||
549 | if (extra_class){ |
|
549 | if (extra_class){ | |
550 | toinsert.addClass(extra_class); |
|
550 | toinsert.addClass(extra_class); | |
551 | } |
|
551 | } | |
552 |
// The only user content injected with |
|
552 | // The only user content injected with this HTML call is | |
553 | // escaped by the fixConsole() method. |
|
553 | // escaped by the fixConsole() method. | |
554 | toinsert.append($("<pre/>").html(data)); |
|
554 | toinsert.append($("<pre/>").html(data)); | |
555 | element.append(toinsert); |
|
555 | element.append(toinsert); |
@@ -164,7 +164,7 var IPython = (function (IPython) { | |||||
164 | } |
|
164 | } | |
165 |
|
165 | |||
166 | Pager.prototype.append_text = function (text) { |
|
166 | Pager.prototype.append_text = function (text) { | |
167 |
// The only user content injected with |
|
167 | // The only user content injected with this HTML call is escaped by | |
168 | // the fixConsole() method. |
|
168 | // the fixConsole() method. | |
169 | this.pager_element.find(".container").append($('<pre/>').html(utils.fixCarriageReturn(utils.fixConsole(text)))); |
|
169 | this.pager_element.find(".container").append($('<pre/>').html(utils.fixCarriageReturn(utils.fixConsole(text)))); | |
170 | }; |
|
170 | }; |
General Comments 0
You need to be logged in to leave comments.
Login now