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:
parent
abebdf52a3
commit
a978701f86
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue