Show More
@@ -181,7 +181,7 b' var IPython = (function (IPython) {' | |||
|
181 | 181 | if (json.stream == undefined){ |
|
182 | 182 | json.stream = 'stdout'; |
|
183 | 183 | } |
|
184 |
var text = |
|
|
184 | var text = json.text; | |
|
185 | 185 | var subclass = "output_"+json.stream; |
|
186 | 186 | if (this.outputs.length > 0){ |
|
187 | 187 | // have at least one output to consider |
@@ -190,8 +190,8 b' var IPython = (function (IPython) {' | |||
|
190 | 190 | // latest output was in the same stream, |
|
191 | 191 | // so append directly into its pre tag |
|
192 | 192 | // escape ANSI & HTML specials: |
|
193 | pre = this.element.find('div.'+subclass).last().find('pre'); | |
|
194 | html = utils.fixCarriageReturn( | |
|
193 | var pre = this.element.find('div.'+subclass).last().find('pre'); | |
|
194 | var html = utils.fixCarriageReturn( | |
|
195 | 195 | pre.html() + utils.fixConsole(text)); |
|
196 | 196 | pre.html(html); |
|
197 | 197 | return; |
General Comments 0
You need to be logged in to leave comments.
Login now