diff --git a/.gitignore b/.gitignore
index 97a85801..a54487a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@
*.so
*.o
*.a
+*.swp
diff --git a/lib/hamlit/filters/plain.rb b/lib/hamlit/filters/plain.rb
index fda63229..9fa3faee 100644
--- a/lib/hamlit/filters/plain.rb
+++ b/lib/hamlit/filters/plain.rb
@@ -18,7 +18,7 @@ module Hamlit
type, str = temple
case type
when :dynamic
- [:escape, true, [:dynamic, str]]
+ [:escape, false, [:dynamic, str]]
else
temple
end
diff --git a/test/haml/filters_test.rb b/test/haml/filters_test.rb
index 87c12156..b9e8e8b8 100644
--- a/test/haml/filters_test.rb
+++ b/test/haml/filters_test.rb
@@ -115,7 +115,7 @@ class FiltersTest < Haml::TestCase
end
end
- test "interpolated code should be escaped if escape_html is set" do; skip
+ test "interpolated code should be escaped if escape_html is set" do
assert_haml_ugly(":plain\n \#{''}")
end
diff --git a/test/hamlit/filters/plain_test.rb b/test/hamlit/filters/plain_test.rb
index e9c7d3c7..607aac07 100644
--- a/test/hamlit/filters/plain_test.rb
+++ b/test/hamlit/filters/plain_test.rb
@@ -14,7 +14,7 @@ describe Hamlit::Filters do
it 'escapes only interpolated content' do
assert_render(<<-HTML.unindent, <<-'HAML'.unindent)