method
escape_once
v1.2.6 -
Show latest stable
- Class:
ActionView::Helpers::TagHelper
escape_once(html)public
Returns the escaped html without affecting existing escaped entities.
escape_once("1 > 2 & 3") # => "1 < 2 & 3"
escape_once(html)Returns the escaped html without affecting existing escaped entities.
escape_once("1 > 2 & 3") # => "1 < 2 & 3"