Closed
Description
Rails 4.2.1
2.2.0 :001 > include ActionView::Helpers::SanitizeHelper
=> Object
2.2.0 :002 > strip_tags('<<title>>')
=> "<>"
Rails 4.2.4
2.2.0 :004 > include ActionView::Helpers::SanitizeHelper
=> Object
2.2.0 :006 > strip_tags('<<title>>')
=> "<>"
Therefore strip_tags is NOW in Rails 4.2.4 also translating text as well as stripping out tags. The lt; and gt; are TEXT and should be left alone.
Metadata
Metadata
Assignees
Labels
No labels