Fixing this strange bug with innerHTML and <tr> tags

There's this bug (at least in Chrome) where the original $('<div>' + stuff + '</div>') wouldn't do the right thing when stuff was a string that started with, say, a <tr>. This change fixes that bug, but hasn't been rigorously tested in any way. I'm just curious if this is the right approach for the fix.

You can see what I think of as a bug here http://jsfiddle.net/A2FPR/2/