diff options
author | mistic100 <mistic@piwigo.org> | 2014-02-18 17:32:36 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2014-02-18 17:32:36 +0000 |
commit | a49fd1f6a4c8e55a2f41ee555a97441f57621c74 (patch) | |
tree | 7dc72632a979bfcdb2137776504435df78d3b5c3 /include/functions_mail.inc.php | |
parent | 656ac54090c1cc516955c59ac752bf99ac7abf6f (diff) |
update emogrifier
git-svn-id: http://piwigo.org/svn/trunk@27403 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/functions_mail.inc.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php index 20dd9e610..e40e94b55 100644 --- a/include/functions_mail.inc.php +++ b/include/functions_mail.inc.php @@ -907,17 +907,8 @@ function move_css_to_body($content) { include_once(PHPWG_ROOT_PATH.'include/emogrifier.class.php'); - // disable DOM warnings - $e_state = libxml_use_internal_errors(true); - $e = new Emogrifier($content); - // $e->preserveStyleTag = true; - $content = $e->emogrify(); - - libxml_clear_errors(); - libxml_use_internal_errors($e_state); - - return $content; + return $e->emogrify(); } /** |