From 3381d45ef674884897efddb1c87a0aa2b777214f Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sun, 24 Sep 2006 15:47:48 -0400 Subject: [PATCH] Updated Hungarian,Estonian and Traditional Chinese localization --- program/lib/html2text.inc | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/program/lib/html2text.inc b/program/lib/html2text.inc index 82a254e..36849a4 100644 --- a/program/lib/html2text.inc +++ b/program/lib/html2text.inc @@ -126,19 +126,18 @@ '/(<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 @@ '"', '-', "'", - '&', '(c)', '(tm)', '--', -- Gitblit v1.9.1