angular/angular.js — pull request #1314 by applmak (2012-08-30 02:55:29+00:00)
Title: Fixing this strange bug with innerHTML and <tr> tags

There's this bug (at least in Chrome) where the original $('

' + stuff + '

') wouldn't do the right thing when stuff was a string that started with, say, a
. 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/