Apparently in IE8 only, there are bugs with the jQuery HTML parser.
var $el = $('<span class="sub-features">');
// $el[0] == undefinedOnly this works:
$('<span class="sub-features"></span>');
// $el[0] == {...}or this (without attributes in the tag):
$('<span>').addClass('sub-features');
// $el[0] == {...}Apparently this only affect inline elements - <b ...>, etc. Block-level elements such as <div ...> seem fine.