diff options
| author | estadtherr <estadtherr@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-09-13 04:49:18 +0000 |
|---|---|---|
| committer | estadtherr <estadtherr@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-09-13 04:49:18 +0000 |
| commit | 874a6b05dca2df7baccc29996df396b13fa08d0e (patch) | |
| tree | 6a930733f8863e5e02e02138b1c47b4eea074e11 /roundcubemail/program/lib/html2text.inc | |
| parent | dff883ed90546cb3a8b9397edf73887b9b2117fe (diff) | |
Fixed bug #1484019 and #1484020
git-svn-id: https://svn.roundcube.net/trunk@342 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/lib/html2text.inc')
| -rw-r--r-- | roundcubemail/program/lib/html2text.inc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/roundcubemail/program/lib/html2text.inc b/roundcubemail/program/lib/html2text.inc index 82a254e56..36849a492 100644 --- a/roundcubemail/program/lib/html2text.inc +++ b/roundcubemail/program/lib/html2text.inc @@ -126,19 +126,18 @@ class html2text '/(<table[^>]*>|<\/table>)/i', // <table> and </table> '/(<tr[^>]*>|<\/tr>)/i', // <tr> and </tr> '/<td[^>]*>(.+?)<\/td>/i', // <td> and </td> - '/<th[^>]*>(.+?)<\/th>/i', // <th> and </th> + '/<th[^>]*>(.+?)<\/th>/ie', // <th> and </th> '/ /i', '/"/i', '/>/i', '/</i', - '/&/i', + '/&(amp|#38);/i', '/©/i', '/™/i', '/“/', '/”/', '/–/', - '/’/', - '/&/', + '/&#(8217|39);/', '/©/', '/™/', '/—/', @@ -188,7 +187,6 @@ class html2text '"', '-', "'", - '&', '(c)', '(tm)', '--', |
