Commit 728bdfc50451b2d5a4135110131e70d942a299e1

Authored by Dmitriy Zaporozhets
2 parents 1feaa336 4134b38a

Merge pull request #6843 from evanlucas/bug/6546

Fix syntax highlighting
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)
... ...