BorisMoore/jsrender — Issue #82: tbody not rendering after thead in template
Author: georgesaliba
Created: 2012-02-27 18:39:05+00:00
State: open

I have some HTML that looks like:

I'm binding it to the following data:

var data = {
Days: [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ]
};

...via the following code:

$('#myTable').html(
$('#tableTemplate').render(data)
);

The problem is that the tbody doesn't get rendered at all in the page. If I put the tbody before the thead in #tableTemplate, then it renders fine. This seems like a bug to me.