Commit 34cc38b6 authored by Saito's avatar Saito

diff now no need to force_encoding to utf8

parent 202807c2
...@@ -58,7 +58,7 @@ module CommitsHelper ...@@ -58,7 +58,7 @@ module CommitsHelper
next if line.match(/^\-\-\- a/) next if line.match(/^\-\-\- a/)
next if line.match(/^\+\+\+ b/) next if line.match(/^\+\+\+ b/)
full_line = html_escape(line.gsub(/\n/, '')).force_encoding("UTF-8") full_line = html_escape(line.gsub(/\n/, ''))
if line.match(/^@@ -/) if line.match(/^@@ -/)
type = "match" type = "match"
......
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