Well, based on what I can find in jQuery source code , the engine itself will not create tags (or snippets) that are not "properly seated." Even when passing a string, jQuery recognizes that the header is already set and will not generate it.
In the end, when jQuery is passed an HTML string, it actually calls document.createElement and creates a list of arrays of these elements.
EDIT . After a little research, it looks like the browser is actually restricting the creation of the element, not jQuery. In any case, you still have missing tags. This leads me to the same conclusion below.
As much as I don't like this, there might be time to manipulate the regex / string.
Brad Christie Jun 20 '11 at 20:50 2011-06-20 20:50
source share