Changeset 1469 in subversion
- Timestamp:
- Jun 4, 2008 5:13:06 AM (5 years ago)
- Location:
- trunk/roundcubemail/program
- Files:
-
- 2 edited
-
lib/washtml.php (modified) (1 diff)
-
steps/mail/func.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/lib/washtml.php
r1467 r1469 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); -
trunk/roundcubemail/program/steps/mail/func.inc
r1452 r1469 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.
