From 9f2c412fa6aa0696c35476d330d6fd0ac1cb88da Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Fri, 17 Jun 2011 14:36:46 -0700 Subject: [PATCH] [#383] Fix for undefined_method 'to_utf8' Contributed by Artem Naluzhnyy --- app/views/common/_diff.rhtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/common/_diff.rhtml b/app/views/common/_diff.rhtml index f7f40fb0..b4327aec 100644 --- a/app/views/common/_diff.rhtml +++ b/app/views/common/_diff.rhtml @@ -5,7 +5,7 @@ <% if diff.diff_type == 'sbs' -%> - + <% table_file.each_line do |spacing, line| -%> @@ -17,11 +17,11 @@ <% end -%>
<%=to_utf8 table_file.file_name %>
<%=to_utf8_for_attachments table_file.file_name %>
<%= line.nb_line_left %> -
<%=to_utf8 line.html_line_left %>
+
<%=to_utf8_for_attachments line.html_line_left %>
<%= line.nb_line_right %> -
<%=to_utf8 line.html_line_right %>
+
<%=to_utf8_for_attachments line.html_line_right %>