-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Partial is rendered twice #146
Comments
The syntax for {{#> content}}
Parent content
{{> otherHelper}}
{{/content}} is: if |
Signed-off-by: Ning Sun <[email protected]>
Signed-off-by: Ning Sun <[email protected]>
@euclio could you please verify if current |
Sure, I'm currently out of town but I can check when I'm back at my
computer.
…On Thu, Apr 13, 2017, 5:39 PM Ning Sun ***@***.***> wrote:
@euclio <https://github.com/euclio> could you please verify if current
master branch works for you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#146 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABTxFoNh6AfiA55Tm27JdXsdYTsf9VCIks5rvsBFgaJpZM4M7veC>
.
|
Hm, having trouble testing this because I think that I'm getting a mismatch between
|
Ops, this happens when you have different version of handlebars library. Could you please also checkout handlebars-iron and change it's depended handlebars to the master branch? |
Ah. Just confirmed that it works on master, thanks! As a side note, why does |
It seems I should. I'm not quite familiar with re-export at the moment. I'll close this for now. |
I think there's an old issue where While I think that re-exporting I can submit a PR for the re-export if you'd like, but it's a small change. |
Thank you @euclio , the patch is welcomed! |
Not sure if this is an issue with the library or my syntax. I'm updating a project that I wrote from the legacy partial syntax to the new syntax.
I have three (simplified) templates like this:
The problem is that the
otherHelper
helper gets rendered (and output) twice, and I cannot figure out why.The text was updated successfully, but these errors were encountered: