[#383] Fix for undefined_method 'to_utf8'
Contributed by Artem Naluzhnyy
This commit is contained in:
parent
7c751b350d
commit
9f2c412fa6
@ -5,7 +5,7 @@
|
|||||||
<% if diff.diff_type == 'sbs' -%>
|
<% if diff.diff_type == 'sbs' -%>
|
||||||
<table class="filecontent">
|
<table class="filecontent">
|
||||||
<thead>
|
<thead>
|
||||||
<tr><th colspan="4" class="filename"><%=to_utf8 table_file.file_name %></th></tr>
|
<tr><th colspan="4" class="filename"><%=to_utf8_for_attachments table_file.file_name %></th></tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<% table_file.each_line do |spacing, line| -%>
|
<% table_file.each_line do |spacing, line| -%>
|
||||||
@ -17,11 +17,11 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th class="line-num"><%= line.nb_line_left %></th>
|
<th class="line-num"><%= line.nb_line_left %></th>
|
||||||
<td class="line-code <%= line.type_diff_left %>">
|
<td class="line-code <%= line.type_diff_left %>">
|
||||||
<pre><%=to_utf8 line.html_line_left %></pre>
|
<pre><%=to_utf8_for_attachments line.html_line_left %></pre>
|
||||||
</td>
|
</td>
|
||||||
<th class="line-num"><%= line.nb_line_right %></th>
|
<th class="line-num"><%= line.nb_line_right %></th>
|
||||||
<td class="line-code <%= line.type_diff_right %>">
|
<td class="line-code <%= line.type_diff_right %>">
|
||||||
<pre><%=to_utf8 line.html_line_right %></pre>
|
<pre><%=to_utf8_for_attachments line.html_line_right %></pre>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user