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:
commit
2ec494fe58
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue