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.
19 20 21 |
# File 'lib/roda/plugins/h.rb', line 19 def h(s) ::Rack::Utils.escape_html(s.to_s) end |