summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-03 06:15:03 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-03 06:15:03 +0000
commit10ae93826e146fd631e314bcc4bd6a61108ddf74 (patch)
tree32755c1c5653fd847ae5ca2cd120b9222ec6af5a
parent3eb534818a5688960386d9d1c85db63521b9a88b (diff)
downloadredmine-10ae93826e146fd631e314bcc4bd6a61108ddf74.tar.gz
redmine-10ae93826e146fd631e314bcc4bd6a61108ddf74.zip
Rails3: view: html_safe for parents and children revisions
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8034 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/repositories/revision.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/repositories/revision.html.erb b/app/views/repositories/revision.html.erb
index 6a2932d28..59952bd6d 100644
--- a/app/views/repositories/revision.html.erb
+++ b/app/views/repositories/revision.html.erb
@@ -37,7 +37,7 @@
<td>
<%= @changeset.parents.collect{
|p| link_to_revision(p, @project, :text => format_revision(p))
- }.join(", ") %>
+ }.join(", ").html_safe %>
</td>
</tr>
<% end %>
@@ -47,7 +47,7 @@
<td>
<%= @changeset.children.collect{
|p| link_to_revision(p, @project, :text => format_revision(p))
- }.join(", ") %>
+ }.join(", ").html_safe %>
</td>
</tr>
<% end %>