]> source.dussan.org Git - redmine.git/commitdiff
removed filter_html on RedCloth textile conversions
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 27 Mar 2007 17:49:52 +0000 (17:49 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 27 Mar 2007 17:49:52 +0000 (17:49 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@388 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index e7b692fc6c8073c0984eefb72245f8c12632f186..877c6d9c9fcec39001cca0bd5081537fa56f8295 100644 (file)
@@ -128,7 +128,7 @@ module ApplicationHelper
    
     # finally textilize text
     @do_textilize ||= (Setting.text_formatting == 'textile') && (ActionView::Helpers::TextHelper.method_defined? "textilize")
-    text = @do_textilize ? auto_link(RedCloth.new(text, [:filter_html]).to_html) : simple_format(auto_link(h(text)))
+    text = @do_textilize ? auto_link(RedCloth.new(text).to_html) : simple_format(auto_link(h(text)))
   end
   
   def error_messages_for(object_name, options = {})