Fixed textilize for RedCloth3 to keep doing hardbreaks

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 ec03a601
......@@ -65,6 +65,7 @@ def pluralize(count, singular, plural = nil)
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>.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册