##// END OF EJS Templates
Rails3: view: html_safe for common/_diff.html.erb...
Toshi MARUYAMA -
r8799:652871d4c3e4
parent child
Show More
@@ -23,11 +23,11
23 23 <tr>
24 24 <th class="line-num"><%= line.nb_line_left %></th>
25 25 <td class="line-code <%= line.type_diff_left %>">
26 <pre><%= Redmine::CodesetUtil.to_utf8_by_setting(line.html_line_left) %></pre>
26 <pre><%= Redmine::CodesetUtil.to_utf8_by_setting(line.html_line_left).html_safe %></pre>
27 27 </td>
28 28 <th class="line-num"><%= line.nb_line_right %></th>
29 29 <td class="line-code <%= line.type_diff_right %>">
30 <pre><%= Redmine::CodesetUtil.to_utf8_by_setting(line.html_line_right) %></pre>
30 <pre><%= Redmine::CodesetUtil.to_utf8_by_setting(line.html_line_right).html_safe %></pre>
31 31 </td>
32 32 </tr>
33 33 <% end -%>
@@ -54,7 +54,7
54 54 <th class="line-num"><%= line.nb_line_left %></th>
55 55 <th class="line-num"><%= line.nb_line_right %></th>
56 56 <td class="line-code <%= line.type_diff %>">
57 <pre><%= Redmine::CodesetUtil.to_utf8_by_setting(line.html_line) %></pre>
57 <pre><%= Redmine::CodesetUtil.to_utf8_by_setting(line.html_line).html_safe %></pre>
58 58 </td>
59 59 </tr>
60 60 <% end -%>
General Comments 0
You need to be logged in to leave comments. Login now