From 40ed9be1ee7ca4c4950573a18f55aeaaa15ecb3a Mon Sep 17 00:00:00 2001 From: svncommit Date: Wed, 13 Sep 2006 04:49:18 +0000 Subject: Fixed bug #1484019 and #1484020 --- program/lib/html2text.inc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'program/lib/html2text.inc') diff --git a/program/lib/html2text.inc b/program/lib/html2text.inc index 82a254e56..36849a492 100644 --- a/program/lib/html2text.inc +++ b/program/lib/html2text.inc @@ -126,19 +126,18 @@ class html2text '/(]*>|<\/table>)/i', // and
'/(]*>|<\/tr>)/i', // and '/]*>(.+?)<\/td>/i', // and - '/]*>(.+?)<\/th>/i', // and + '/]*>(.+?)<\/th>/ie', // and '/ /i', '/"/i', '/>/i', '/</i', - '/&/i', + '/&(amp|#38);/i', '/©/i', '/™/i', '/“/', '/”/', '/–/', - '/’/', - '/&/', + '/&#(8217|39);/', '/©/', '/™/', '/—/', @@ -188,7 +187,6 @@ class html2text '"', '-', "'", - '&', '(c)', '(tm)', '--', -- cgit v1.2.3