1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

More symbols for send and respond_to?.

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
This commit is contained in:
Clemens Kofler 2008-09-02 10:02:18 +02:00 committed by Jeremy Kemper
parent abebdf52a3
commit a978701f86

View file

@ -298,7 +298,7 @@ module ActionView
"" ""
else else
textilized = RedCloth.new(text, [ :hard_breaks ]) 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 textilized.to_html
end end
end end