escape_once(html) public

Returns an escaped version of html without affecting existing escaped entities.

Examples

escape_once("1 < 2 & 3")
# => "1 < 2 & 3"

escape_once("<< Accept & Checkout")
# => "<< Accept & Checkout"
Show source
Register or log in to add new notes.