[issue #64] Fixed encodings bugs

This commit is contained in:
George Vinogradov 2012-02-14 18:54:18 +04:00 committed by Vladimir Sharshov
parent de9071ae4f
commit 1bc4efcdc4
2 changed files with 4 additions and 5 deletions

View File

@ -8,7 +8,7 @@ module DiffHelper
res += "<table class='diff inline' cellspacing='0' cellpadding='0'>" res += "<table class='diff inline' cellspacing='0' cellpadding='0'>"
res += "<tbody>" res += "<tbody>"
res += diff_display.render(Git::Diff::InlineCallback.new) res += diff_display.render(Git::Diff::InlineCallback.new).encode_to_default
res += "</tbody>" res += "</tbody>"
res += "</table>" res += "</table>"

View File

@ -1,8 +1,7 @@
.blob_header .blob_header
.size= h(diff.deleted_file ? diff.a_path : diff.b_path) .size= h(diff.deleted_file ? diff.a_path : diff.b_path).encode_to_default
- puts 'in view' - puts diff.a_path.encode_to_default
- puts diff.a_path - puts diff.b_path.encode_to_default
- puts diff.b_path
.clear .clear
.diff_data.highlight .diff_data.highlight