Ignore:
Timestamp:
09/24/12 17:27:22 (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/prototype/services/ImapServiceAdapter.php

    r7228 r7290  
    600600                                $msg_uid = $data['msg_id']; 
    601601                                $body = $data['body']; 
     602                                $body = str_replace("&lt;","&yzwkx;",$body); //Alterar as Entities padrão das tags < > para compatibilizar com o Expresso  
     603                    $body = str_replace("&gt;","&xzwky;",$body); 
    602604                                $body = str_replace("%nbsp;","&nbsp;",$body); 
    603                                 $body = html_entity_decode ( $body, ENT_QUOTES , 'ISO-8859-1' );                                         
     605                                $body = html_entity_decode ( $body, ENT_QUOTES , 'ISO-8859-1' );                  
     606                    $body = str_replace("&yzwkx;","&lt;",$body);  
     607                    $body = str_replace("&xzwky;","&gt;",$body);                                         
    604608 
    605609                                $folder = mb_convert_encoding($data['folder'], "UTF7-IMAP","ISO-8859-1, UTF-8"); 
Note: See TracChangeset for help on using the changeset viewer.