-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect conversion of tag-inline ERB #40
Comments
@aprescott I am not sure if html2haml could ever produce the expected output in the case. The issue is that it will not create an html |
@snatchev html2haml 1.0.1 handles this case correctly, though. |
@aprescott Good point. I will look into how it handled it. Thanks for reporting. |
|
Oh, that's a good point. Sorry @snatchev, getting my HTML and HAML confused. So yes, 1.0.1 "handles" this case for some value of "handle", but I guess any ERB that inserts attributes directly as with |
@aprescott this test case is really difficult. For one, using a variable called |
Reproduced this on
master
:This should instead be
html2haml 1.0.1 generates the expected HAML, but the latest version doesn't.
The text was updated successfully, but these errors were encountered: