mirror of
https://github.com/redmine/redmine.git
synced 2026-03-05 12:01:23 +01:00
Removed RedCloth :hard_break option that broke textile rendering.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@423 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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 = {})
|
||||
|
||||
Reference in New Issue
Block a user