From a49fd1f6a4c8e55a2f41ee555a97441f57621c74 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Tue, 18 Feb 2014 17:32:36 +0000 Subject: update emogrifier git-svn-id: http://piwigo.org/svn/trunk@27403 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/emogrifier.class.php | 744 +++++++++++++++++++++++++++++-------------- 1 file changed, 507 insertions(+), 237 deletions(-) (limited to 'include/emogrifier.class.php') diff --git a/include/emogrifier.class.php b/include/emogrifier.class.php index 744dd45f8..829cbfbff 100644 --- a/include/emogrifier.class.php +++ b/include/emogrifier.class.php @@ -1,162 +1,293 @@ XPath conversion for adjacent sibling selectors and id/class combinations... Thanks Bob V.! - 2011-06-08 Fixed an error where CSS @media types weren't being parsed correctly... Thanks Will W.! - 2011-08-03 Fixed an error where an empty selector at the beginning of the CSS would cause a parse error on the next selector... Thanks Alexei T.! - 2011-10-13 Fully fixed a bug introduced in 2011-06-08 where selectors at the beginning of the CSS would be parsed incorrectly... Thanks Thomas A.! - 2011-10-26 Added an option to allow you to output emogrified code without extended characters being turned into HTML entities. - Moved static references to class attributes so they can be manipulated. - Added the ability to clear out the (formerly) static cache when CSS is reloaded. - 2011-12-22 Fixed a bug that was overwriting existing inline styles from the original HTML... Thanks Sagi L.! - 2012-01-31 Fixed a bug that was introduced with the 2011-12-22 revision... Thanks Sagi L. and M. BÄ…kowski! - Added extraction of