Module: Olyx::Guardrails::Text::HtmlDecoder
- Defined in:
- lib/olyx/guardrails/text/html_decoder.rb
Overview
Decodes one bounded layer of HTML entities.
Class Method Summary collapse
Class Method Details
.call(value) ⇒ Object
12 13 14 |
# File 'lib/olyx/guardrails/text/html_decoder.rb', line 12 def call(value) CGI.unescapeHTML(value) end |