Fix XXE in getHtmlDocument

Fix #74