Show More
@@ -418,7 +418,7 define([ | |||
|
418 | 418 | html = security.sanitize_html(html); |
|
419 | 419 | var h = $($.parseHTML(html)); |
|
420 | 420 | // add id and linkback anchor |
|
421 | var hash = h.text().replace(/ /g, '-'); | |
|
421 | var hash = h.text().trim().replace(/ /g, '-'); | |
|
422 | 422 | h.attr('id', hash); |
|
423 | 423 | h.append( |
|
424 | 424 | $('<a/>') |
General Comments 0
You need to be logged in to leave comments.
Login now