Commit 69960ca1 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #639 from denisnovikov/patch/utf8

Force diff line to UTF-8 encoding - proper fix.
parents c40c627a 8abaf05a
...@@ -67,7 +67,7 @@ module CommitsHelper ...@@ -67,7 +67,7 @@ module CommitsHelper
line_new = line.match(/\+[0-9]*/)[0].to_i.abs rescue 0 line_new = line.match(/\+[0-9]*/)[0].to_i.abs rescue 0
next if line_old == 1 && line_new == 1 next if line_old == 1 && line_new == 1
yield(line, type, nil, nil, nil) yield(full_line, type, nil, nil, nil)
next next
else else
type = diff_line_class(line) type = diff_line_class(line)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment