Ignore:
Timestamp:
02/18/14 18:32:36 (5 years ago)
Author:
mistic100
Message:

update emogrifier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_mail.inc.php

    r26461 r27403  
    908908  include_once(PHPWG_ROOT_PATH.'include/emogrifier.class.php'); 
    909909 
    910   // disable DOM warnings 
    911   $e_state = libxml_use_internal_errors(true); 
    912  
    913910  $e = new Emogrifier($content); 
    914   // $e->preserveStyleTag = true; 
    915   $content = $e->emogrify(); 
    916  
    917   libxml_clear_errors(); 
    918   libxml_use_internal_errors($e_state); 
    919  
    920   return $content; 
     911  return $e->emogrify(); 
    921912} 
    922913 
Note: See TracChangeset for help on using the changeset viewer.