# File lib/erubis/engine/eruby.rb, line 30 def escape_text(text) text.gsub(/['\\]/, '\\\\\&') # "'" => "\\'", '\\' => '\\\\' end