]> source.dussan.org Git - redmine.git/commitdiff
remove unnecessary h() from diff filename (#12641)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 7 Mar 2013 07:24:46 +0000 (07:24 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 7 Mar 2013 07:24:46 +0000 (07:24 +0000)
On Rails3, escaping is default.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11544 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/common/_diff.html.erb

index 8600164c06bfb907cc8c0d9dba758cde2c732cbe..94434fe86a1c436e29b23318294aa7c6ef84ca5c 100644 (file)
@@ -10,7 +10,7 @@
 <thead>
 <tr>
   <th colspan="4" class="filename">
-    <%= h(Redmine::CodesetUtil.to_utf8_by_setting(table_file.file_name)) %>
+    <%= Redmine::CodesetUtil.to_utf8_by_setting(table_file.file_name) %>
   </th>
 </tr>
 </thead>
@@ -40,7 +40,7 @@
 <thead>
   <tr>
     <th colspan="3" class="filename">
-      <%= h(Redmine::CodesetUtil.to_utf8_by_setting(table_file.file_name)) %>
+      <%= Redmine::CodesetUtil.to_utf8_by_setting(table_file.file_name) %>
     </th>
   </tr>
 </thead>