Fix Null Attributes in New HTML Parser

Ran into one small bug with the recently accepted HTML Parser that this addresses. Simply put, the following HTML would not parse correctly:

    <tag attr />

Currently, it has to be specifed as:

    <tag attr="attr" />

This change addresses the issue and adds a test for it.