Show More
@@ -516,13 +516,14 var IPython = (function (IPython) { | |||
|
516 | 516 | HeadingCell.prototype.set_rendered = function (text) { |
|
517 | 517 | var r = this.element.find("div.text_cell_render"); |
|
518 | 518 | r.empty(); |
|
519 | var link = text.replace(/ /g, '_'); | |
|
519 | 520 | r.append( |
|
520 | 521 | $('<h'+this.level+'/>') |
|
521 | 522 | .append( |
|
522 | 523 | $('<a/>') |
|
523 | 524 | .addClass('heading-anchor') |
|
524 |
.attr('href', '#' + |
|
|
525 |
.attr(' |
|
|
525 | .attr('href', '#' + link) | |
|
526 | .attr('id', link) | |
|
526 | 527 | .html(text) |
|
527 | 528 | ) |
|
528 | 529 | ); |
General Comments 0
You need to be logged in to leave comments.
Login now