Changeset 4777


Ignore:
Timestamp:
07/15/11 17:31:20 (13 years ago)
Author:
airton
Message:

Ticket #2132 - Mensagem do Outlook e parcialmente truncada na margem esquerda

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r4773 r4777  
    14701470                                $body = str_replace($rest[1][$i],"<".$rest[2][$i].$rest[3][$i].$rest[7][$i].">",$body); 
    14711471                } 
     1472                 
     1473                /* 
     1474                * Remove deslocamento a esquerda colocado pelo Outlook. 
     1475                * Este delocamento faz com que algumas palavras fiquem escondidas atras da barra lateral do expresso.  
     1476                */ 
     1477                $body = mb_ereg_replace("(<p[^>]*)(text-indent:[^>;]*-[^>;]*;)([^>]*>)","\\1\\3",$body);  
     1478            $body = mb_ereg_replace("(<p[^>]*)(margin-right:[^>;]*-[^>;]*;)([^>]*>)","\\1\\3",$body);  
     1479            $body = mb_ereg_replace("(<p[^>]*)(margin-left:[^>;]*-[^>;]*;)([^>]*>)","\\1\\3",$body);  
     1480            //--------------------------------------------------------------------------------------------//     
    14721481                 
    14731482                //$body = $this->replace_links($body); 
Note: See TracChangeset for help on using the changeset viewer.