]> source.dussan.org Git - redmine.git/commitdiff
Removed RedCloth :hard_break option that broke textile rendering.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 5 Apr 2007 14:34:11 +0000 (14:34 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 5 Apr 2007 14:34:11 +0000 (14:34 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@423 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index 3f3c02f1121a8895b3b07618adf94b09354cbbf5..b3f981076db5d5cd5b8509816ba509ad6b6f10dd 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, [: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 = {})