Can you please add tests for the cases you're handling?  As far as I can understand those would be `<a>` elements with no `href` attribute and, uh... empty `<label></label>` elements?

Also, can you remove this unnecessary blank line that somehow appeared at the top of `normalizeWhitespace`?