mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
More symbols for send and respond_to?.
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
This commit is contained in:
committed by
Jeremy Kemper
parent
abebdf52a3
commit
a978701f86
@@ -298,7 +298,7 @@ module ActionView
|
||||
""
|
||||
else
|
||||
textilized = RedCloth.new(text, [ :hard_breaks ])
|
||||
textilized.hard_breaks = true if textilized.respond_to?("hard_breaks=")
|
||||
textilized.hard_breaks = true if textilized.respond_to?(:hard_breaks=)
|
||||
textilized.to_html
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user