module Roda::RodaPlugins::H::InstanceMethods

Public Instance Methods

h(s) click to toggle source

HTML escape the input and return the escaped version.

# File lib/roda/plugins/h.rb, line 16
def h(s)
  ::Rack::Utils.escape_html(s.to_s)
end