Class: AutoHtml::HtmlEscape
- Inherits:
-
Object
- Object
- AutoHtml::HtmlEscape
- Defined in:
- lib/auto_html/html_escape.rb
Overview
HTML escape filter
Instance Method Summary collapse
Instance Method Details
#call(text) ⇒ Object
8 9 10 |
# File 'lib/auto_html/html_escape.rb', line 8 def call(text) CGI.escapeHTML(text) end |