MDL-17542 lib/html2text: update to latest upstream version (r2374)

from http://trac.roundcube.net/log/trunk/roundcubemail/program/lib/html2text.php
This commit is contained in:
fmarier 2009-05-22 02:10:22 +00:00
parent db26acd41d
commit ea2678d8b9
3 changed files with 51 additions and 50 deletions

View file

@ -1986,9 +1986,6 @@ function html_to_text($html) {
$h2t = new html2text($html);
$result = $h2t->get_text();
// html2text does not fix HTML entities so handle those here.
$result = trim(html_entity_decode($result, ENT_NOQUOTES, 'UTF-8'));
return $result;
}