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

app/helpers/application_helper.rb

index 9d2c0e8dd80d8d678e73c9fbb54baae324ea4f2c..cf94f8a66430d46624e0824c9b0343774f160374 100644 (file)
@@ -582,10 +582,10 @@ module ApplicationHelper
           link_to(h(title || page), url, :class => ('wiki-page' + (wiki_page ? '' : ' new')))
         else
           # project or wiki doesn't exist
-          all
+          all.html_safe
         end
       else
-        all
+        all.html_safe
       end
     end
   end