Hacky way of getting the HTML version of the document.