diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-27 17:49:52 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-27 17:49:52 +0000 |
commit | cf221c8f7502577b609415b1a252d5069d096f4d (patch) | |
tree | 269df5d7b1ccae2a536ac6408e29773e71080803 /app | |
parent | b938c60396e21013f05483066c0d1c2ba6b78eb8 (diff) | |
download | redmine-cf221c8f7502577b609415b1a252d5069d096f4d.tar.gz redmine-cf221c8f7502577b609415b1a252d5069d096f4d.zip |
removed filter_html on RedCloth textile conversions
git-svn-id: http://redmine.rubyforge.org/svn/trunk@388 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index e7b692fc6..877c6d9c9 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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 = {}) |