trek/ember.js — comment on commit a2ebf1ae4a73db184b579dd1ace50edbeea3664d
File:  line 0
By trek:

Basically what I suspected: inserting `

Jason

Zack

And with a `

`:

Jason

Zack

In the second example the first two placeholders are inserted, then when the table-related elements start getting inserted the `
` gets put in first and screws the order of placeholders and their ranges. When the entire collection is replaced metamorphs 1 and 2 are removed, which snips the opening `
`:

The browser corrects this by adding the opening tag back for the node that contains `the metamorph-0-end`:

And then, because we're writing into the table directly after `metamorph-0-start`, a `
` is added for them:

Trini

Kimberly

(Interestingly the `
` is inserted before `metamorph-5-start`, which is different than I expected.)

I can see three options:
a) change nothing and just tell people they *must* use a `
` in their templates (which I suppose is more W3C approved)
b) check whether a metamorph is a going to be child of a table and insert the tbody ourselves so it's in the correct position
c) use a function like `fixParentage()` - although in this case we'll be fixing the start rather than the end metamorph.

Thoughts?