Commit 84043e8e44337353169a7c1ec8ccca2ce823b995

Authored by Dmitriy Zaporozhets
1 parent 235605fc

Fix lines and line numbers being squashed in File -> blame

Showing 1 changed file with 4 additions and 2 deletions   Show diff stats
app/views/blame/show.html.haml
... ... @@ -38,9 +38,11 @@
38 38 - current_line += 1
39 39 - else
40 40 - lines.each do |line|
41   - = current_line
  41 + :preserve
  42 + #{current_line}
42 43 - current_line += 1
43 44 %td.lines
44 45 %pre
45 46 - lines.each do |line|
46   - = line
  47 + :preserve
  48 + #{line}
... ...