Rails3: use String#html_safe for parse_non_pre_blocks() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6484 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3f126c35b8
commit
5031bab474
|
@ -518,7 +518,7 @@ module ApplicationHelper
|
||||||
while tag = tags.pop
|
while tag = tags.pop
|
||||||
parsed << "</#{tag}>"
|
parsed << "</#{tag}>"
|
||||||
end
|
end
|
||||||
parsed
|
parsed.html_safe
|
||||||
end
|
end
|
||||||
|
|
||||||
def parse_inline_attachments(text, project, obj, attr, only_path, options)
|
def parse_inline_attachments(text, project, obj, attr, only_path, options)
|
||||||
|
|
Loading…
Reference in New Issue