Update html2text.php

MDL-41672: to rebase PULL branches of David Mudrak to simplify history and avoid any possible merge conflicts