Module: HTMLEscapeWithoutHAMLWithAngularXSS

Defined in:
lib/angular_xss/haml.rb

Overview

HAML 5.2+

Instance Method Summary collapse

Instance Method Details

#html_escape_without_haml_xss(html) ⇒ Object



18
19
20
# File 'lib/angular_xss/haml.rb', line 18

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