mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Add a spec to confirm silent script is disabled
This commit is contained in:
parent
9d2d4ff6c1
commit
279ed12d32
1 changed files with 8 additions and 0 deletions
|
@ -143,5 +143,13 @@ describe Hamlit::Engine do
|
|||
<-_>foo</-_>
|
||||
HTML
|
||||
end
|
||||
|
||||
it 'does not render silent script just after a tag' do
|
||||
assert_render(<<-HAML, <<-HTML)
|
||||
%span- raise 'a'
|
||||
HAML
|
||||
<span->raise 'a'</span->
|
||||
HTML
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue