Commit 69960ca1a4be18a1439eb857b3ccd397fca741b4

Authored by Dmitriy Zaporozhets
2 parents c40c627a 8abaf05a

Merge pull request #639 from denisnovikov/patch/utf8

Force diff line to UTF-8 encoding - proper fix.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/commits_helper.rb
... ... @@ -67,7 +67,7 @@ module CommitsHelper
67 67 line_new = line.match(/\+[0-9]*/)[0].to_i.abs rescue 0
68 68  
69 69 next if line_old == 1 && line_new == 1
70   - yield(line, type, nil, nil, nil)
  70 + yield(full_line, type, nil, nil, nil)
71 71 next
72 72 else
73 73 type = diff_line_class(line)
... ...