##// END OF EJS Templates
merge heading lines...
MinRK -
Show More
@@ -515,9 +515,8 b' var IPython = (function (IPython) {'
515 515 HeadingCell.prototype.render = function () {
516 516 if (this.rendered === false) {
517 517 var text = this.get_text();
518 // Markdown headings must be a single line,
519 // truncate invalid input
520 text = text.split('\n')[0];
518 // Markdown headings must be a single line
519 text = text.replace(/\n/g, ' ');
521 520 if (text === "") { text = this.placeholder; }
522 521 text = Array(this.level + 1).join("#") + " " + text;
523 522 text = IPython.mathjaxutils.remove_math(text);
General Comments 0
You need to be logged in to leave comments. Login now