bugfix: parsing of self-closing tags

Resolves substrack/html-select#6