Changeset 7274


Ignore:
Timestamp:
09/21/12 16:30:00 (7 years ago)
Author:
douglasz
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/services/ImapServiceAdapter.php

    r7044 r7274  
    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.