You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the same behavior for pure Ruby 2.1 ERB, which I think Rails is using with trim_options = '-'. But it seems that Rails does some preprocessing (pure Ruby does not remove trailing spaces: only the newline), so I'm not sure it it's relevant.
The text was updated successfully, but these errors were encountered:
The docs for 4.1.5 say http://api.rubyonrails.org/classes/ActionView/Base.html:
However I have tested with things like:
and the leading newline does not get removed. Am I doing something wrong, or is it a documentation bug?
My tests:
I have the same behavior for pure Ruby 2.1 ERB, which I think Rails is using with
trim_options = '-'
. But it seems that Rails does some preprocessing (pure Ruby does not remove trailing spaces: only the newline), so I'm not sure it it's relevant.The text was updated successfully, but these errors were encountered: