Changeset 5799531 in github


Ignore:
Timestamp:
Mar 24, 2010 5:28:59 AM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
84a3312
Parents:
fdf8750
Message:
  • fix bug in css cleanup of html messages
File:
1 edited

Legend:

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

    r9b3fdc2 r5799531  
    939939 
    940940        if ($part->ctype_secondary == 'html') 
    941           $out .= html::div('message-htmlpart', rcmail_html4inline($body, $attrib['id'])); 
     941          $out .= html::div('message-htmlpart', rcmail_html4inline($body, $attrib['id'] . ' div.rcmBody')); 
    942942        else 
    943943          $out .= html::div('message-part', $body); 
     
    10371037    $out); 
    10381038 
     1039  if (!preg_match('/<div class="rcmBody"/', $out)) 
     1040    $out = '<div class="rcmBody">' . $out . '</div>'; 
     1041 
    10391042  // quote <? of php and xml files that are specified as text/html 
    10401043  $out = preg_replace(array('/<\?/', '/\?>/'), array('&lt;?', '?&gt;'), $out); 
Note: See TracChangeset for help on using the changeset viewer.