buildFragment bug - jQuery 2.0.2

by pguinness

HTML

<div id="testContent"></div>
<div id="logContent"></div>

JavaScript

try {
    $('#testContent').html('<#if><tr><p>This is a test.</p></tr><#/if>');
    $('#logContent').html('Test complete');
} catch (error) {
    $('#logContent').html('Error thrown: ' + error);
}