Changeset 25787 for trunk/include/functions_mail.inc.php
- Timestamp:
- Dec 4, 2013, 10:32:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_mail.inc.php
r25563 r25787 908 908 include_once(PHPWG_ROOT_PATH.'include/emogrifier.class.php'); 909 909 910 // disable DOM warnings 911 $e_state = libxml_use_internal_errors(true); 912 910 913 $e = new Emogrifier($content); 911 914 // $e->preserveStyleTag = true; 912 return $e->emogrify(); 915 $content = $e->emogrify(); 916 917 libxml_clear_errors(); 918 libxml_use_internal_errors($e_state); 919 920 return $content; 913 921 } 914 922
Note: See TracChangeset
for help on using the changeset viewer.