1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Merge branch 'stable'

This commit is contained in:
Nathan Weizenbaum 2009-06-07 13:20:52 -07:00
commit 2ec494fe58

View file

@ -763,6 +763,10 @@ END
assert_equal("<a b='a\#{foo}b'></a>\n", render('%a{:b => "a\\#{foo}b"}', :suppress_eval => true)) assert_equal("<a b='a\#{foo}b'></a>\n", render('%a{:b => "a\\#{foo}b"}', :suppress_eval => true))
end end
def test_dynamic_hashes_with_suppress_eval
assert_equal("<a></a>\n", render('%a{:b => "a #{1 + 1} b", :c => "d"}', :suppress_eval => true))
end
# HTML 4.0 # HTML 4.0
def test_html_has_no_self_closing_tags def test_html_has_no_self_closing_tags