Skip to content
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

Document clearness: Handlebarsjs #each not working inside table due to Html parser problem and users should be aware of this problem. #182

Closed
christianxiao opened this issue Jul 17, 2017 · 1 comment

Comments

@christianxiao
Copy link

When we try to loop inside a table like this:

                        {{#each myListData}}
                        <tr>

And if we put the above code inside of script, then it works.
This is the Html parser problem, but users still need to be told somewhere in the documentation to be aware of this problem.
Please check the issue here: handlebars-lang/handlebars.js#604 (comment)

@christianxiao
Copy link
Author

Thank @stevenvachon for explanation and @nknapp for making the final changes on the site. This change will definitely help a lot of people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant