mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Is this what you mean?
[ci skip]
This commit is contained in:
parent
8749bf5b12
commit
5163269eb2
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class FiltersTest < Haml::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
test "interpolated code should use be escaped in escape_html is set" do
|
||||
test "interpolated code should be escaped if escape_html is set" do
|
||||
assert_equal "<script>evil</script>\n",
|
||||
render(":plain\n \#{'<script>evil</script>'}", :escape_html => true)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue