-
Notifications
You must be signed in to change notification settings - Fork 109
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
Multiline pipe appears not to be honored #88
Comments
The triggering code is the sample code from the specification |
From the spec:
%whoo
%hoo= h( |
"I think this might get " + |
"pretty long so I should " + |
"probably make it " + |
"multiline so it doesn't " + |
"look awful.") |
%p This is short.
<whoo>
<hoo>I think this might get pretty long so I should probably make it multiline so it doesn't look awful.</hoo>
<p>This is short</p>
</whoo> Instead a compilation failure occurs. This in concert with #74 make haml-js very difficult to use for practical real-world templates. |
Fixed with #99 |
The HAML Spec offers a multiline notation. A HAML transform built on this library which works on similar code fails with this error:
The text was updated successfully, but these errors were encountered: