Changeset 4024 in subversion
- Timestamp:
- Sep 30, 2010 6:07:53 AM (3 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/steps/mail/func.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r4022 r4024 12 12 - Add option do bind for an individual LDAP address book (#1486997) 13 13 - Change reply prefix to display email address only if sender name doesn't exist (#1486550) 14 - Fix charset replacement in HTML message bodies (#1487021) 14 15 15 16 RELEASE 0.4.1 -
trunk/roundcubemail/program/steps/mail/func.inc
r4023 r4024 664 664 // charset was converted to UTF-8 in rcube_imap::get_message_part(), 665 665 // -> change charset specification in HTML accordingly 666 $charset_pattern = '(<meta\s+[^>]* content=)[\'"]?(\w+\/\w+;\s*charset=)([a-z0-9-_]+[\'"]?)';666 $charset_pattern = '(<meta\s+[^>]*content=)[\'"]?(\w+\/\w+;\s*charset=)([a-z0-9-_]+[\'"]?)'; 667 667 if (preg_match("/$charset_pattern/Ui", $html)) { 668 668 $html = preg_replace("/$charset_pattern/i", '\\1"\\2'.RCMAIL_CHARSET.'"', $html); … … 674 674 $html = substr_replace($html, '<meta http-equiv="Content-Type" content="text/html; charset='.RCMAIL_CHARSET.'" />', intval(stripos($html, '<head>')+6), 0); 675 675 } 676 677 676 // turn relative into absolute urls 678 677 $html = rcmail_resolve_base($html);
Note: See TracChangeset
for help on using the changeset viewer.
