Changeset 7284 for branches/2.4


Ignore:
Timestamp:
09/24/12 11:41:06 (12 years ago)
Author:
eduardow
Message:

Ticket #3121 - Problema com o uso de caracteres especiais no CKEDITOR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/expressoMail1_2/inc/class.imap_functions.inc.php

    r7281 r7284  
    28442844            } else { 
    28452845                //Compatibilização com Outlook, ao encaminhar a mensagem 
    2846                 $body = mb_ereg_replace('<!--\[', '<!-- [', $params['body']); 
     2846                $body = mb_ereg_replace('<!--\[', '<!-- [', $params['body']);                             
     2847                $body = str_replace("&lt;","&yzwkx;",$body); //Alterar as Entities padrão das tags < > para compatibilizar com o Expresso  
     2848                $body = str_replace("&gt;","&xzwky;",$body); 
    28472849                $body = str_replace("%nbsp;","&nbsp;",$body); 
    28482850                //$body = preg_replace("/\n/"," ",$body); 
    28492851                //$body = preg_replace("/\r/","" ,$body); 
    2850                 $body = html_entity_decode ( $body, ENT_QUOTES , 'ISO-8859-1' );         
     2852                $body = html_entity_decode ( $body, ENT_QUOTES , 'ISO-8859-1' ); 
     2853                $body = str_replace("&yzwkx;","&lt;",$body);  
     2854                    $body = str_replace("&xzwky;","&gt;",$body);         
    28512855            } 
    28522856 
Note: See TracChangeset for help on using the changeset viewer.