Rails3: use String#html_safe for parse_wiki_links() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6486 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9e29f9f1e6
commit
c941602570
@ -582,10 +582,10 @@ module ApplicationHelper
|
|||||||
link_to(h(title || page), url, :class => ('wiki-page' + (wiki_page ? '' : ' new')))
|
link_to(h(title || page), url, :class => ('wiki-page' + (wiki_page ? '' : ' new')))
|
||||||
else
|
else
|
||||||
# project or wiki doesn't exist
|
# project or wiki doesn't exist
|
||||||
all
|
all.html_safe
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
all
|
all.html_safe
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user