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