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,7 +67,7 @@ module CommitsHelper | ||
67 | line_new = line.match(/\+[0-9]*/)[0].to_i.abs rescue 0 | 67 | line_new = line.match(/\+[0-9]*/)[0].to_i.abs rescue 0 |
68 | 68 | ||
69 | next if line_old == 1 && line_new == 1 | 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 | next | 71 | next |
72 | else | 72 | else |
73 | type = diff_line_class(line) | 73 | type = diff_line_class(line) |