mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-28 20:40:59 -05:00
Fixed a expression bug in postProcess
This commit is contained in:
parent
47668fe70a
commit
ba4a7b13b3
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ function postProcess(code) {
|
||||||
return "<noiframe>" + $(this).html() + "</noiframe>"
|
return "<noiframe>" + $(this).html() + "</noiframe>"
|
||||||
});
|
});
|
||||||
//link should open in new window or tab
|
//link should open in new window or tab
|
||||||
result.find('a:not([href^=#]):not([target])').attr('target', '_blank');
|
result.find('a:not([href^="#"]):not([target])').attr('target', '_blank');
|
||||||
//update continue line numbers
|
//update continue line numbers
|
||||||
var linenumberdivs = result.find('.gutter.linenumber').toArray();
|
var linenumberdivs = result.find('.gutter.linenumber').toArray();
|
||||||
for (var i = 0; i < linenumberdivs.length; i++) {
|
for (var i = 0; i < linenumberdivs.length; i++) {
|
||||||
|
|
Loading…
Reference in a new issue