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

Lens template rendering bug #110

Open
zepheiryan opened this issue Aug 22, 2013 · 1 comment
Open

Lens template rendering bug #110

zepheiryan opened this issue Aug 22, 2013 · 1 comment

Comments

@zepheiryan
Copy link
Member

Lens templates with tables will potentially run into rendering problems if there are line breaks in the template. Part of the deeper jQuery 1.10.2/2.0.3 code (manipulationTarget) looks for children of a node when adding children to a table element to work with IE8, but if it's a TextNode, there will obviously be no children. The simplest author fix is to make sure <table><tbody> and </tbody></table> are used in lens templates without line breaks; a better fix might involve catching the problem before handing it to jQuery.

@karger
Copy link
Contributor

karger commented Sep 9, 2013

I've posted a bug on jquery core: http://bugs.jquery.com/ticket/14290
The problem isn't only with newlines; as discussed there even whitespace
can break lens templates.

On 8/22/2013 4:09 PM, Ryan Lee wrote:

Lens templates with tables will potentially run into rendering
problems if there are line breaks in the template. Part of the deeper
jQuery 1.10.2/2.0.3 code (|manipulationTarget|) looks for children of
a node when adding children to a table element to work with IE8, but
if it's a TextNode, there will obviously be no children. The simplest
author fix is to make sure |

| and |
| are
used in lens templates without line breaks; a better fix might involve
catching the problem before handing it to jQuery.


Reply to this email directly or view it on GitHub
#110.

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

No branches or pull requests

2 participants