HTML escape at app/views/wiki/export_multiple.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6391 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7ced7b17fd
commit
d96f3f4767
@ -20,13 +20,13 @@ h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display
|
|||||||
<strong><%= l(:label_index_by_title) %></strong>
|
<strong><%= l(:label_index_by_title) %></strong>
|
||||||
<ul>
|
<ul>
|
||||||
<% @pages.each do |page| %>
|
<% @pages.each do |page| %>
|
||||||
<li><a href="#<%= page.title %>"><%= page.pretty_title %></a></li>
|
<li><a href="#<%= h(page.title) %>"><%= h(page.pretty_title) %></a></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<% @pages.each do |page| %>
|
<% @pages.each do |page| %>
|
||||||
<hr />
|
<hr />
|
||||||
<a name="<%= page.title %>" />
|
<a name="<%= h(page.title) %>" />
|
||||||
<%= textilizable page.content ,:text, :wiki_links => :anchor %>
|
<%= textilizable page.content ,:text, :wiki_links => :anchor %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user