]> source.dussan.org Git - redmine.git/commitdiff
scm: remove unnecessary h() from annotate author (#14931)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 18 Sep 2013 10:13:28 +0000 (10:13 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 18 Sep 2013 10:13:28 +0000 (10:13 +0000)
Rails3 escapes by default.

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

app/views/repositories/annotate.html.erb

index 3ad9ceac60a81477cc31f9dbca7899f22f3f945b..210a0c0e5fd69ceb89346eb4fce0a7ef83fb4cc5 100644 (file)
@@ -26,7 +26,7 @@
         </td>
         <td class="author">
           <% if revision && revision != previous_revision %>
-            <%= h(revision.author.to_s.split('<').first) %>
+            <%= revision.author.to_s.split('<').first %>
           <% end %>
         </td>
         <td class="line-code"><pre><%= line.html_safe %></pre></td>