-
Notifications
You must be signed in to change notification settings - Fork 36
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
Calliope chokes on functions that take a block. #64
Comments
Yes, not supported at this time. You might try adding an explicit - end. Of course, pull requests are welcome :) Sent from my iPhone
|
Thank you! I will use It would be great if a note about this could be added to the readme, to prevent confusion of other people facing the same issue in the future. |
(This was first posted on the (phoenix_haml github project](chrismccord/phoenix_haml#35), and there I was guided here)
First and foremost: How nice that there is a HAML-parser for Elixir! :-)
I have this file (saved as
templates/layout/menu.html.haml
)link
is a phoenix_html function that optionally takes ado:
block as parameter. This way, in EEx, you can embed more complex html in your links.However, this breaks the Calliope's HAML-parsing. Here is the stacktrace:
I think it chokes on the optional block-passing.
The text was updated successfully, but these errors were encountered: