-
Notifications
You must be signed in to change notification settings - Fork 2k
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
handlebars.registerPartial can't work with html template element #1212
Comments
Hi @objectisundefined! There's not enough info here for someone to understand or reproduce your issue to see what is happening. Please see the information here on reporting issues and put together an example showing what it is you're doing that's not working as you would expect. |
I was starting to use Handlebars.registerPartial method, I put {{> son }} in a parent template. |
This is a behavior of the browser attempting to "fix" what it deems to be invalid input. You need to use the |
{{> description}} expression in script tag, the code works,
but when I put it in template tag, it fails.
handlebars throw an error '{{&\g\t; ...' , '>' can't be compiled correctly.
Is there any method I can use with template element in html?
The text was updated successfully, but these errors were encountered: