class Roda::RodaPlugins::ErubisEscaping::Eruby

Optimized subclass that fixes escaping of postfix conditionals.

def add_expr_escaped(src, code)

a local variable instead of a constant lookup.
<%= %> are broken (e.g. <%= foo if bar %> ), and optimize by using
Fix bug in Erubis::EscapedEruby where postfix conditionals inside
def add_expr_escaped(src, code)
  src << " #{@bufvar} << _erubis_xml_helper.escape_xml((" << code << '));'
end

def convert_input(codebuf, input)

constant lookup per escape.
Set escaping class to a local variable, so you don't need a
def convert_input(codebuf, input)
  codebuf << '_erubis_xml_helper = Erubis::XmlHelper;'
  super
end