CHANGELOG.TXT 3.0 KB

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