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