aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_mail.inc.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2014-02-18 17:32:36 +0000
committermistic100 <mistic@piwigo.org>2014-02-18 17:32:36 +0000
commita49fd1f6a4c8e55a2f41ee555a97441f57621c74 (patch)
tree7dc72632a979bfcdb2137776504435df78d3b5c3 /include/functions_mail.inc.php
parent656ac54090c1cc516955c59ac752bf99ac7abf6f (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.php11
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();
}
/**