CHANGELOG.TXT 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. 2008-08-10
  2. Fixed CSS comment stripping regex to add PCRE_DOTALL (changed from '/\/\*.*\*\//U' to '/\/\*.*\*\//sU')
  3. 2008-08-18
  4. Added lines instructing DOMDocument to attempt to normalize HTML before processing
  5. 2008-10-20
  6. Fixed bug with bad variable name... Thanks Thomas!
  7. 2008-03-02
  8. Added licensing terms under the MIT License; Only remove unprocessable HTML tags if they exist in the array
  9. 2009-06-03
  10. Normalize existing CSS (style) attributes in the HTML before we process the CSS.
  11. Made it so that the display:none stripper doesn't require a trailing semi-colon.
  12. 2009-08-13
  13. Added support for subset class values (e.g. "p.class1.class2"). Added better protection for bad css attributes.
  14. Fixed support for HTML entities.
  15. 2009-08-17
  16. Fixed CSS selector processing so that selectors are processed by precedence/specificity, and not just in order.
  17. 2009-10-29
  18. Fixed so that selectors appearing later in the CSS will have precedence over identical selectors appearing earlier.
  19. 2009-11-04
  20. Explicitly declared static functions static to get rid of E_STRICT notices.
  21. 2010-05-18
  22. Fixed bug where full url filenames with protocols wouldn't get split improperly when we explode on ':'... Thanks Mark!
  23. Added two new attribute selectors
  24. 2010-06-16
  25. Added static caching for less processing overhead in situations where multiple emogrification takes place
  26. 2010-07-26
  27. Fixed bug where '0' values were getting discarded because of php's empty() function... Thanks Scott!
  28. 2010-09-03
  29. Added checks to invisible node removal to ensure that we don't try to remove non-existent child nodes of parents that have already been deleted
  30. 2011-04-08
  31. Fixed errors in CSS->XPath conversion for adjacent sibling selectors and id/class combinations... Thanks Bob V.!
  32. 2011-06-08
  33. Fixed an error where CSS @media types weren't being parsed correctly... Thanks Will W.!
  34. 2011-08-03
  35. 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.!
  36. 2011-10-13
  37. Fully fixed a bug introduced in 2011-06-08 where selectors at the beginning of the CSS would be parsed incorrectly... Thanks Thomas A.!
  38. 2011-10-26
  39. Added an option to allow you to output emogrified code without extended characters being turned into HTML entities.
  40. Moved static references to class attributes so they can be manipulated.
  41. Added the ability to clear out the (formerly) static cache when CSS is reloaded.
  42. 2011-12-22
  43. Fixed a bug that was overwriting existing inline styles from the original HTML... Thanks Sagi L.!
  44. 2012-01-31
  45. Fixed a bug that was introduced with the 2011-12-22 revision... Thanks Sagi L. and M. Bąkowski!
  46. Added extraction of <style> blocks within the HTML due to popular demand.
  47. Added several new pseudo-selectors (first-child, last-child, nth-child, and nth-of-type).
  48. 2012-02-07
  49. Fixed some recent code introductions to use class constants rather than global constants.
  50. Fixed some recent code introductions to make it cleaner to read.
  51. 2012-05-01
  52. Made removal of invisible nodes operate in a case-insensitive manner... Thanks Juha P.!