method

html_escape

rails latest stable - Class: ActiveSupport::CoreExt::ERBUtil
html_escape(s)
private

HTML escapes strings but doesn’t wrap them with an ActiveSupport::SafeBuffer. This method is not for public consumption! Seriously!