lib/brakeman/parsers/haml_embedded.rb in brakeman-4.6.1 vs lib/brakeman/parsers/haml_embedded.rb in brakeman-4.7.0
- old
+ new
@@ -1,7 +1,7 @@
module Brakeman
module FakeHamlFilter
- # Copied from Haml - force delayed compilation
+ # Copied from Haml 4 - force delayed compilation
def compile(compiler, text)
filter = self
compiler.instance_eval do
text = unescape_interpolation(text).gsub(/(\\+)n/) do |s|
escapes = $1.size