]> source.dussan.org Git - redmine.git/commitdiff
Rails3: use String#html_safe for parse_non_pre_blocks() at ApplicationHelper.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 20 Aug 2011 11:14:29 +0000 (11:14 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 20 Aug 2011 11:14:29 +0000 (11:14 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6484 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index 1d4a36f1298e323607236f824e7918457a49e920..b9173cfd21460ac5fe724c69d589fb5382c6c8a0 100644 (file)
@@ -518,7 +518,7 @@ module ApplicationHelper
     while tag = tags.pop
       parsed << "</#{tag}>"
     end
-    parsed
+    parsed.html_safe
   end
 
   def parse_inline_attachments(text, project, obj, attr, only_path, options)