summaryrefslogtreecommitdiffstats
path: root/app/views/versions
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-02 13:22:34 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-02 13:22:34 +0000
commitec541afc14476c4670c52ba67b3468947d62d236 (patch)
tree3c5031567c5a85437112d3fdc47338af28b2cfd2 /app/views/versions
parentabdf0fa21c1b9dd8d6025fc799208f3166f1c291 (diff)
downloadredmine-ec541afc14476c4670c52ba67b3468947d62d236.tar.gz
redmine-ec541afc14476c4670c52ba67b3468947d62d236.zip
HTML escape at app/views/versions/index.html.erb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6396 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/versions')
-rw-r--r--app/views/versions/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb
index b8e266afe..56785add2 100644
--- a/app/views/versions/index.html.erb
+++ b/app/views/versions/index.html.erb
@@ -9,7 +9,7 @@
<% else %>
<div id="roadmap">
<% @versions.each do |version| %>
- <h3 class="version"><%= tag 'a', :name => version.name %><%= link_to_version version %></h3>
+ <h3 class="version"><%= tag 'a', :name => h(version.name) %><%= link_to_version version %></h3>
<%= render :partial => 'versions/overview', :locals => {:version => version} %>
<%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %>