BigW Consortium Gitlab

Commit d89f26e0 by Dmitriy Zaporozhets

Merge branch 'master' of https://github.com/gitlabhq/gitlabhq

parents 2a99f184 728bdfc5
...@@ -59,7 +59,7 @@ class Dispatcher ...@@ -59,7 +59,7 @@ class Dispatcher
initHighlight: -> initHighlight: ->
$('.highlight pre code').each (i, e) -> $('.highlight pre code').each (i, e) ->
hljs.highlightBlock(e)
$(e).html($.map($(e).html().split("\n"), (line, i) -> $(e).html($.map($(e).html().split("\n"), (line, i) ->
"<div class='line' id='LC" + (i + 1) + "'>" + line + "</div>" "<span class='line' id='LC" + (i + 1) + "'>" + line + "</span>"
).join("\n")) ).join("\n"))
hljs.highlightBlock(e)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment