method

html_escape_once

Importance_1
v4.1.8 - Show latest stable - 0 notes - Class: ERB::Util
html_escape_once(s) private

A utility method for escaping HTML without affecting existing escaped entities.

html_escape_once('1 < 2 & 3')
# => "1 < 2 & 3"

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