module Hamlit::Utils

Public Class Methods

escape_html(p1) click to toggle source
static VALUE
rb_escape_html(RB_UNUSED_VAR(VALUE self), VALUE value)
{
  return escape_html(to_s(value));
}
escape_html_safe(html) click to toggle source
# File lib/hamlit/utils.rb, line 5
def self.escape_html_safe(html)
  html.html_safe? ? html : escape_html(html)
end