More rails_xss Plugin fun

:-(
This commit is contained in:
Jacques Distler 2010-05-26 01:27:09 -05:00
parent a5e08f7bcc
commit 4b73f1a1ae
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
<%- @title = "#{@page.plain_name} is locked" -%>
<%- @title = "#{@page.plain_name} is locked".html_safe -%>
<p>
<%= link_to_page(h(@page.locked_by.purify)) %>

View file

@ -1,5 +1,5 @@
<%-
@title = "Creating #{CGI.escapeHTML(WikiWords.separate(@page_name))}"
@title = "Creating #{WikiWords.separate(@page_name).escapeHTML}".html_safe
@content_width = 720
@hide_navigation = true
-%>

View file

@ -1,4 +1,4 @@
<%- @title = "Search results for \"#{h @query}\"" -%>
<%- @title = "Search results for \"#{h @query}\"".html_safe -%>
<%- unless @title_results.empty? -%>
<h2><%= @title_results.length %> page(s) containing search string in the page name:</h2>