Fixed multiline block does not end with '|' #9

merged 1 commit into from Nov 8, 2012


None yet

2 participants

ypresto commented Oct 28, 2012

According to current haml specification, even the last line in the multiline block should end with |.
So I fixed to follow this spec.

TODO: to add test for mutiline token on last line

But I think this change will spoil existing haml files containing multiline block which does not end with '|'.
(What can we do? :( )
Is it better to control with switch or something else?

@vti vti merged commit 49bc2b9 into vti:master Nov 8, 2012
vti commented Nov 8, 2012


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment