@@ -20,13 +20,13 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display | |||
|
20 | 20 | <strong><%= l(:label_index_by_title) %></strong> |
|
21 | 21 | <ul> |
|
22 | 22 | <% @pages.each do |page| %> |
|
23 | <li><a href="#<%= page.title %>"><%= page.pretty_title %></a></li> | |
|
23 | <li><a href="#<%= h(page.title) %>"><%= h(page.pretty_title) %></a></li> | |
|
24 | 24 | <% end %> |
|
25 | 25 | </ul> |
|
26 | 26 | |
|
27 | 27 | <% @pages.each do |page| %> |
|
28 | 28 | <hr /> |
|
29 | <a name="<%= page.title %>" /> | |
|
29 | <a name="<%= h(page.title) %>" /> | |
|
30 | 30 | <%= textilizable page.content ,:text, :wiki_links => :anchor %> |
|
31 | 31 | <% end %> |
|
32 | 32 |
General Comments 0
You need to be logged in to leave comments.
Login now