Changeset 2186 in subversion
- Timestamp:
- Dec 22, 2008 1:27:25 PM (4 years ago)
- Location:
- trunk/roundcubemail/program/lib
- Files:
-
- 2 edited
-
Mail/mimePart.php (modified) (1 diff)
-
html2text.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/lib/Mail/mimePart.php
r2154 r2186 244 244 245 245 if (count($this->_subparts)) { 246 srand((double)microtime()*1000000);247 246 $boundary = '=_' . md5(rand() . microtime()); 248 247 $this->_headers['Content-Type'] .= ';' . MAIL_MIMEPART_CRLF . "\t" . 'boundary="' . $boundary . '"'; -
trunk/roundcubemail/program/lib/html2text.php
r2148 r2186 469 469 $this->_convert_pre($text); 470 470 471 // Replace known html entities472 $text = html_entity_decode($text, ENT_COMPAT, 'UTF-8');473 474 471 // Run our defined search-and-replace 475 472 $text = preg_replace($this->search, $this->replace, $text); 476 473 $text = preg_replace_callback($this->callback_search, array('html2text', '_preg_callback'), $text); 474 475 // Replace known html entities 476 $text = html_entity_decode($text, ENT_COMPAT, 'UTF-8'); 477 477 478 478 // Strip any other HTML tags
Note: See TracChangeset
for help on using the changeset viewer.
