Ignore:
Timestamp:
03/16/12 17:33:05 (12 years ago)
Author:
cristiano
Message:

Ticket #2469 - Trocada regex que limpa o css e problemas com envio de email em text/plain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/library/CssToInlineStyles/css_to_inline_styles.php

    r5476 r5745  
    184184        { 
    185185                // remove classes 
    186                 $html = preg_replace('/(\s)+class="(.*)"(\s)+/U', ' ', $html); 
    187  
     186                $html = preg_replace('/(\s)+class="([^"])"/U', ' ', $html); 
     187                 
    188188                // remove IDs 
    189                 $html = preg_replace('/(\s)+id="(.*)"(\s)+/U', ' ', $html); 
     189                $html = preg_replace('/(\s)+id="([^"])"/U', ' ', $html); 
    190190 
    191191                // return 
Note: See TracChangeset for help on using the changeset viewer.