Class: Banzai::Filter::HtmlEntityFilter
- Inherits:
-
HTML::Pipeline::TextFilter
- Object
- HTML::Pipeline::TextFilter
- Banzai::Filter::HtmlEntityFilter
- Defined in:
- lib/banzai/filter/html_entity_filter.rb
Overview
Text filter that escapes these HTML entities: & “ < >
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
9 10 11 |
# File 'lib/banzai/filter/html_entity_filter.rb', line 9 def call ERB::Util.html_escape(text) end |