HTML escape at parse_wiki_links() of app/helpers/application_helper.rb (#9252)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7248 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
09e3302587
commit
4313b5ffc6
|
@ -579,7 +579,7 @@ module ApplicationHelper
|
|||
wiki_page_id = page.present? ? Wiki.titleize(page) : nil
|
||||
url_for(:only_path => only_path, :controller => 'wiki', :action => 'show', :project_id => link_project, :id => wiki_page_id, :anchor => anchor)
|
||||
end
|
||||
link_to((title || page), url, :class => ('wiki-page' + (wiki_page ? '' : ' new')))
|
||||
link_to(h(title || page), url, :class => ('wiki-page' + (wiki_page ? '' : ' new')))
|
||||
else
|
||||
# project or wiki doesn't exist
|
||||
all.html_safe
|
||||
|
|
Loading…
Reference in New Issue