Commit d89f26e0112a8bb4a3e75c51d08a3c22dbfe1753
Exists in
spb-stable
and in
2 other branches
Merge branch 'master' of https://github.com/gitlabhq/gitlabhq
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/assets/javascripts/dispatcher.js.coffee
... | ... | @@ -59,7 +59,7 @@ class Dispatcher |
59 | 59 | |
60 | 60 | initHighlight: -> |
61 | 61 | $('.highlight pre code').each (i, e) -> |
62 | - hljs.highlightBlock(e) | |
63 | 62 | $(e).html($.map($(e).html().split("\n"), (line, i) -> |
64 | - "<div class='line' id='LC" + (i + 1) + "'>" + line + "</div>" | |
63 | + "<span class='line' id='LC" + (i + 1) + "'>" + line + "</span>" | |
65 | 64 | ).join("\n")) |
65 | + hljs.highlightBlock(e) | ... | ... |