1
0
Fork 0
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:
David Heinemeier Hansson 2005-02-19 00:01:36 +00:00
parent ec03a60181
commit 6b7c6e088f

View file

@ -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>.