Changeset 4e0419b in github
- Timestamp:
- Dec 22, 2008 1:27:25 PM (4 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 1608f43
- Parents:
- 0fc97c2
- Location:
- program/lib
- Files:
-
- 2 edited
-
Mail/mimePart.php (modified) (1 diff)
-
html2text.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/lib/Mail/mimePart.php
r781f341b r4e0419b 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 . '"'; -
program/lib/html2text.php
rf50cc72 r4e0419b 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.
