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
This commit is contained in:
Toshi MARUYAMA 2011-08-02 13:22:34 +00:00
parent abdf0fa21c
commit ec541afc14
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
<% else %> <% else %>
<div id="roadmap"> <div id="roadmap">
<% @versions.each do |version| %> <% @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 => 'versions/overview', :locals => {:version => version} %>
<%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %> <%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %>