Module: EscapeHTMLWithAngularXSS

Defined in:
lib/angular_xss/haml.rb

Overview

Instance Method Summary collapse

Instance Method Details

#escape_html(html) ⇒ Object



32
33
34
# File 'lib/angular_xss/haml.rb', line 32

def escape_html(html)
  super(AngularXss::Escaper.escape_if_unsafe(html))
end