Changeset 1662 in subversion
- Timestamp:
- Aug 21, 2008 2:08:52 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/steps/mail/func.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/func.inc
r1647 r1662 577 577 // charset was converted to UTF-8 in rcube_imap::get_message_part() -> change charset specification in HTML accordingly 578 578 $html = $part->body; 579 if (preg_match('/(\s+content=[\'"]\w+\/\w+;\s*charset)=([a-z0-9- ]+)/i', $html))580 $html = preg_replace('/(\s+content=[\'"]\w+\/\w+;\s*charset)=([a-z0-9- ]+)/i', '\\1='.RCMAIL_CHARSET, $html);579 if (preg_match('/(\s+content=[\'"]\w+\/\w+;\s*charset)=([a-z0-9-_]+)/i', $html)) 580 $html = preg_replace('/(\s+content=[\'"]\w+\/\w+;\s*charset)=([a-z0-9-_]+)/i', '\\1='.RCMAIL_CHARSET, $html); 581 581 else { 582 582 // add <head> for malformed messages, washtml cannot work without that
Note: See TracChangeset
for help on using the changeset viewer.
