module Sinatra::HTMLEscapeHelper

Simple way to escape HTML (method ‘h’)

Public Instance Methods

h(text) click to toggle source
# File lib/sinatra_fedora/helpers.rb, line 4
def h(text)
  Rack::Utils.escape_html(text)
end