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