fixed bug where Mojo::DOM::HTML could not handle certain broken tags