module Roda::RodaPlugins::H::InstanceMethods

  1. lib/roda/plugins/h.rb

Methods

Public Instance

  1. h

Public Instance methods

h(string)

HTML escape the input and return the escaped version.

[show source]
   # File lib/roda/plugins/h.rb
28 def h(string)
29   CGI.escapeHTML(string.to_s)
30 end