Show More
@@ -431,7 +431,7 var IPython = (function (IPython) { | |||||
431 | html = security.sanitize_html(html); |
|
431 | html = security.sanitize_html(html); | |
432 | var h = $($.parseHTML(html)); |
|
432 | var h = $($.parseHTML(html)); | |
433 | // add id and linkback anchor |
|
433 | // add id and linkback anchor | |
434 | var hash = h.text().replace(/ /g, '-'); |
|
434 | var hash = h.text().trim().replace(/ /g, '-'); | |
435 | h.attr('id', hash); |
|
435 | h.attr('id', hash); | |
436 | h.append( |
|
436 | h.append( | |
437 | $('<a/>') |
|
437 | $('<a/>') |
General Comments 0
You need to be logged in to leave comments.
Login now