Module: Roda::RodaPlugins::H::InstanceMethods
- Defined in:
- lib/roda/plugins/h.rb
Instance Method Summary collapse
-
#h(s) ⇒ Object
HTML escape the input and return the escaped version.
Instance Method Details
#h(s) ⇒ Object
HTML escape the input and return the escaped version.
16 17 18 |
# File 'lib/roda/plugins/h.rb', line 16 def h(s) ::Rack::Utils.escape_html(s.to_s) end |