Hi,
In console i tried the following:
("t".html_safe + "t2").html_safe?
=> true
Why is it returning true?
to my mind:
The concatenation of two Strings returns a new Object, which should
only be html_safe, if both parts are html_safe, otherwise html_UNsafe.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.