Changeset 4977 for branches/2.3


Ignore:
Timestamp:
08/22/11 14:16:31 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #2102 - Formatação de parte da texto incide sobre todo o restante da mensagem.

Location:
branches/2.3/expressoMail1_2
Files:
2 edited

Legend:

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

    r4946 r4977  
    13501350 
    13511351                //Remoção de tags <span></span> para correção de erro no firefox 
    1352                 if($_SESSION['phpgw_session']['phpgw_app_sessions']['phpgwapi']['browser_agent']['content'] != 'IE'){ 
    1353                     $body = mb_eregi_replace("<span><span>","",$body); 
    1354                     $body = mb_eregi_replace("</span></span>","",$body); 
    1355                 } 
    1356                  
     1352//               if($_SESSION['phpgw_session']['phpgw_app_sessions']['phpgwapi']['browser_agent']['content'] != 'IE'){ 
     1353//                   $body = mb_eregi_replace("<span><span>","",$body); 
     1354//                   $body = mb_eregi_replace("</span></span>","",$body); 
     1355//               } 
     1356 
    13571357                $body = mb_ereg_replace("(<p[^>]*)(text-indent:[^>;]*-[^>;]*;)([^>]*>)","\\1\\3",$body); 
    13581358                $body = mb_ereg_replace("(<p[^>]*)(margin-right:[^>;]*-[^>;]*;)([^>]*>)","\\1\\3",$body); 
  • branches/2.3/expressoMail1_2/js/draw_api.js

    r4918 r4977  
    24042404        newBody = newBody.replace("<body","<span"); 
    24052405        newBody = newBody.replace("<BODY","<span"); 
    2406         while ( ( /<span[^>]*><span[^>]*>/ig ).test( newBody ) ) 
    2407                 newBody = newBody.replace( /(<span[^>]*>)<span[^>]*>/ig, '$1' ); 
     2406        //while ( ( /<span[^>]*><span[^>]*>/ig ).test( newBody ) ) 
     2407        //       newBody = newBody.replace( /(<span[^>]*>)<span[^>]*>/ig, '$1' ); 
    24082408 
    24092409        var _body = document.createElement( 'div' ); 
Note: See TracChangeset for help on using the changeset viewer.