Fixed bug #1484019 and #1484020
| | |
| | | CHANGELOG RoundCube Webmail |
| | | --------------------------- |
| | | |
| | | 2006/09/12 (estadtherr) |
| | | ---------- |
| | | - Fixed html2text treatment of table headers (Bug #1484020) |
| | | - Fixed IMAP fetch of message body (Bug #1484019) |
| | | |
| | | |
| | | 2006/09/08 (thomasb) |
| | | ---------- |
| | | - Fixed safe_mode problems (Bug #1418381) |
| | |
| | | '/(<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);/', |
| | | '/©/', |
| | | '/™/', |
| | | '/—/', |
| | |
| | | '"', |
| | | '-', |
| | | "'", |
| | | '&', |
| | | '(c)', |
| | | '(tm)', |
| | | '--', |
| | |
| | | $remaining = $bytes - $received; |
| | | $line = iil_ReadLine($fp, 1024); |
| | | $len = strlen($line); |
| | | if ($len > $remaining) substr($line, 0, $remaining); |
| | | if ($len > $remaining) $line = substr($line, 0, $remaining); |
| | | $received += strlen($line); |
| | | if ($mode==1) $result .= chop($line)."\n"; |
| | | else if ($mode==2){ echo chop($line)."\n"; flush(); } |