html5lib as parser works better for some reason...