Commit d89f26e0112a8bb4a3e75c51d08a3c22dbfe1753

Authored by Dmitriy Zaporozhets
2 parents 2a99f184 728bdfc5

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,7 +59,7 @@ class Dispatcher
59 59
60 initHighlight: -> 60 initHighlight: ->
61 $('.highlight pre code').each (i, e) -> 61 $('.highlight pre code').each (i, e) ->
62 - hljs.highlightBlock(e)  
63 $(e).html($.map($(e).html().split("\n"), (line, i) -> 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 ).join("\n")) 64 ).join("\n"))
  65 + hljs.highlightBlock(e)