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

Possible bug with {^{if}} #157

Closed
csaloio opened this issue Apr 2, 2013 · 2 comments
Closed

Possible bug with {^{if}} #157

csaloio opened this issue Apr 2, 2013 · 2 comments

Comments

@csaloio
Copy link

csaloio commented Apr 2, 2013

This link below shows a code sample demonstrating the problem (I couldn't get the code to display properly here)

http://stackoverflow.com/questions/15764115/possible-jsviews-bug-with-if

@BorisMoore
Copy link
Owner

This is the result of not having a <tbody> tag in the markup.

When you use <table> tags in JsRender templates, used with JsViews data-binding, you need to remember always to include a <tbody> tag. The browser will insert one anyway, and JsViews parsing will then end up with incorrect element depth information.

I will add a warning error message in the JsViews parser for this.

BTW you can use GitHub markup - such as wrapping in ``` if you want to include code. See the link below for GitHub Flavored Markdown.

@csaloio
Copy link
Author

csaloio commented Apr 2, 2013

Excellent. Thank you Boris,

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

2 participants