Changeset ffbf910 in github for program/steps/mail/func.inc


Ignore:
Timestamp:
Dec 1, 2008 3:15:50 PM (4 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
f1f17fa
Parents:
e3379e0
Message:

Insert meta content-type at top of the html head + add both content-id and content-location of related parts to replacement table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/mail/func.inc

    r7a2d79a rffbf910  
    650650      if (!preg_match('/<head[^>]*>(.*)<\/head>/Uims', $html)) 
    651651        $html = '<head></head>'. $html; 
    652       $html = substr_replace($html, '<meta http-equiv="Content-Type" content="text/html; charset='.RCMAIL_CHARSET.'" />', intval(stripos($html, '</head>')), 0); 
     652      $html = substr_replace($html, '<meta http-equiv="content-type" content="text/html; charset='.RCMAIL_CHARSET.'" />', intval(stripos($html, '<head>')+6), 0); 
    653653    } 
    654654 
Note: See TracChangeset for help on using the changeset viewer.