Fix for <ident> with no detected closing tag.