summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-04-05 14:34:11 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-04-05 14:34:11 +0000
commit7eb4abae80d7bd0b3b95c67b09f7b58b0b3ed031 (patch)
tree28fa596833cdc236148c8d46cd7529be2fbe2a34
parent0ea1b712be79347a7002262f680bdffe05c2ecda (diff)
downloadredmine-7eb4abae80d7bd0b3b95c67b09f7b58b0b3ed031.tar.gz
redmine-7eb4abae80d7bd0b3b95c67b09f7b58b0b3ed031.zip
Removed RedCloth :hard_break option that broke textile rendering.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@423 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/helpers/application_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 3f3c02f11..b3f981076 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, [:hard_breaks]).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 = {})