patching some of the html-to-markdown errors