More rails_xss Plugin fun
:-(
This commit is contained in:
parent
a5e08f7bcc
commit
4b73f1a1ae
|
@ -1,4 +1,4 @@
|
||||||
<%- @title = "#{@page.plain_name} is locked" -%>
|
<%- @title = "#{@page.plain_name} is locked".html_safe -%>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<%= link_to_page(h(@page.locked_by.purify)) %>
|
<%= link_to_page(h(@page.locked_by.purify)) %>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<%-
|
<%-
|
||||||
@title = "Creating #{CGI.escapeHTML(WikiWords.separate(@page_name))}"
|
@title = "Creating #{WikiWords.separate(@page_name).escapeHTML}".html_safe
|
||||||
@content_width = 720
|
@content_width = 720
|
||||||
@hide_navigation = true
|
@hide_navigation = true
|
||||||
-%>
|
-%>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<%- @title = "Search results for \"#{h @query}\"" -%>
|
<%- @title = "Search results for \"#{h @query}\"".html_safe -%>
|
||||||
|
|
||||||
<%- unless @title_results.empty? -%>
|
<%- unless @title_results.empty? -%>
|
||||||
<h2><%= @title_results.length %> page(s) containing search string in the page name:</h2>
|
<h2><%= @title_results.length %> page(s) containing search string in the page name:</h2>
|
||||||
|
|
Loading…
Reference in a new issue