Skip to content

Commit

Permalink
add failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
minad committed Apr 26, 2011
1 parent d4c79bf commit 05bcb2c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/slim/test_html_escaping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,12 @@ def test_html_with_escaped_interpolation

assert_html '<p class="&quot;">test &lt;x&gt;</p>', source
end

def test_html_nested_escaping
source = %q{
= hello_world do
| escaped &
}
assert_html 'Hello World from @env escaped &amp; Hello World from @env', source
end
end

0 comments on commit 05bcb2c

Please sign in to comment.