Handle attributes that lack values

Recognize attributes without values at the end of tags, e.g. <input
type="checkbox" checked>