Changeset 65cc1c1 in github
- Timestamp:
- Jun 4, 2008 5:13:06 AM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- a8755664
- Parents:
- 5d6ec21
- Location:
- program
- Files:
-
- 2 edited
-
lib/washtml.php (modified) (1 diff)
-
steps/mail/func.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/lib/washtml.php
r68217c5 r65cc1c1 188 188 $node = new DOMDocument('1.0', $config['charset']); 189 189 $full = true; 190 $html = mb_convert_encoding($html, 'HTML-ENTITIES', 'UTF-8'); 190 if (function_exists('mb_convert_encoding')) 191 $html = mb_convert_encoding($html, 'HTML-ENTITIES', $config['charset']); 191 192 @$node->loadHTML($html); 192 193 return self::dumpHtml($node, $config, $full); -
program/steps/mail/func.inc
r45f56c1 r65cc1c1 515 515 516 516 /** 517 * Convert the given message part to proper HTML 518 * which can be displayed the message view 517 519 * 518 */ 519 function rcmail_print_body($part, $safe=FALSE, $plain=FALSE) 520 * @param object rcube_message_part Message part 521 * @param bool True if external objects (ie. images ) are allowed 522 * @param bool True if part should be converted to plaintext 523 * @return string Formatted HTML string 524 */ 525 function rcmail_print_body($part, $safe=false, $plain=false) 520 526 { 521 527 global $REMOTE_OBJECTS;
Note: See TracChangeset
for help on using the changeset viewer.
