still to implement: empty void, html comments, whitespace removal, format checking bugfix: tags with text are incorrectly implemented