Flowdock
method

html_escape_once

Importance_1
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: ERB::Util
html_escape_once(s) public

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.