Module: Hamlit::Concerns::Escapable

Extended by:
Included
Defined in:
lib/hamlit/concerns/escapable.rb

Instance Method Summary collapse

Methods included from Included

extended

Instance Method Details

#escape_html(exp, force_escape = false) ⇒ Object



12
13
14
# File 'lib/hamlit/concerns/escapable.rb', line 12

def escape_html(exp, force_escape = false)
  [:escape, force_escape || @options[:escape_html], exp]
end