fixing test for html parsing
fixing how styles are set in the DOM for HTML
fixing convertToXML