Don't escape already parsed wiki link title (#9471).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7698 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Etienne Massip
2011-10-29 11:45:59 +00:00
parent e32d815def
commit 1032210edd
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -592,7 +592,7 @@ module ApplicationHelper
url_for(:only_path => only_path, :controller => 'wiki', :action => 'show', :project_id => link_project, :id => wiki_page_id, :anchor => anchor)
end
end
link_to(h(title || page), url, :class => ('wiki-page' + (wiki_page ? '' : ' new')))
link_to(title || h(page), url, :class => ('wiki-page' + (wiki_page ? '' : ' new')))
else
# project or wiki doesn't exist
all.html_safe