mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixed textilize for RedCloth3 to keep doing hardbreaks
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
ec03a60181
commit
6b7c6e088f
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ module ActionView
|
|||
|
||||
begin
|
||||
require "redcloth"
|
||||
class RedCloth; def hard_breaks() true end; end
|
||||
|
||||
# Returns the text with all the Textile codes turned into HTML-tags.
|
||||
# <i>This method is only available if RedCloth can be required</i>.
|
||||
|
|
Loading…
Reference in a new issue