-
Notifications
You must be signed in to change notification settings - Fork 10
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
Another issue with latest version (v1.3.4) #48
Comments
I'll check that right now |
I came to find out this issue when I was getting an error which didn't use to occur before upgrading to v1.3.4. (I was using v1.3.1) mixin button_with_preloader(title)
button= $title view.ctp.jade include ../Mixin/button_with_preloader.ctp.jade
...
+button_with_preloader(__('Submit'))#btn_submit_feedback.right._no-margin-bottom
|
Yes, that's a bug indeed. I've added a test for your first code snippets in this thread, these pass (Look at the dev-master branch) The second thing you posted is a bug, I'm fixing it right now. |
Yeah, the first snippet works fine. I wonder why it wasn't working before. mixin.jade mixin button(title)
button= $title 1.jade include mixin
+button('Go') The above code works without any issue. But it throws an error if I change |
- Fixed a bug where the extensions in the compiler where checked without the .-prefix in handleImport (#48)
Please update and tell me if this is fixed for you |
Thanks, it's working now. But I have another issue again. div(id!='clip_#{$clip->id}') Now it doesn't work, throwing an error: If I remove Please check this and let me know. |
Nooo, I broke attribute escaping. Sorry haha, I'll fix this quickly. |
Can you test this again as well? Don't forget to update to 1.3.6 |
It works. thanks 👍 |
This issue is related to
include
statement.mixin.jade
1.jade
After compilation, it should generate only 1.html with the following contents:
But the result is it generates 1.html as well as mixin.html. And the contents are not good.
mixin.html
1.html
This is certainly a bug right?
The text was updated successfully, but these errors were encountered: