[issue #64] Fixed encodings bugs
This commit is contained in:
parent
de9071ae4f
commit
1bc4efcdc4
|
@ -8,7 +8,7 @@ module DiffHelper
|
|||
|
||||
res += "<table class='diff inline' cellspacing='0' cellpadding='0'>"
|
||||
res += "<tbody>"
|
||||
res += diff_display.render(Git::Diff::InlineCallback.new)
|
||||
res += diff_display.render(Git::Diff::InlineCallback.new).encode_to_default
|
||||
res += "</tbody>"
|
||||
res += "</table>"
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
.blob_header
|
||||
.size= h(diff.deleted_file ? diff.a_path : diff.b_path)
|
||||
- puts 'in view'
|
||||
- puts diff.a_path
|
||||
- puts diff.b_path
|
||||
.size= h(diff.deleted_file ? diff.a_path : diff.b_path).encode_to_default
|
||||
- puts diff.a_path.encode_to_default
|
||||
- puts diff.b_path.encode_to_default
|
||||
.clear
|
||||
|
||||
.diff_data.highlight
|
||||
|
|
Loading…
Reference in New Issue