Fixes empty tag attribute breaking HTML structure

- issue #8