moved from html2text to pandoc