Commit 8abaf05aa9dfd936189f4d979fdd07f67afaeb38
1 parent
c40c627a
Exists in
master
and in
4 other branches
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) | ... | ... |