module EscapeHTMLWithAngularXSS

Haml 6+ It ditched most of is own helpers in favor of Haml::Util.escape_html github.com/haml/haml/blob/main/CHANGELOG.md#600 github.com/haml/haml/compare/v5.2.2…v6.3.0 github.com/haml/haml/blob/v6.3.0/lib/haml/util.rb

Public Instance Methods

escape_html(html) click to toggle source
Calls superclass method
# File lib/angular_xss/haml.rb, line 32
def escape_html(html)
  super(AngularXss::Escaper.escape_if_unsafe(html))
end