- Better ordering of style rules and properties, thx to Hikariii, for more information see the Pull Request
- Some Travis improvements, thx to barryvdh, for more information see the Pull Request
- Refactor the storage of the computed properties, thx to stof, for more information see the Pull Request
- Use possessive quantifiers to avoid reaching PCRE limits, thx to stof, for more information see the Pull Request
- Reuse the same CssSelectorConverter, thx to stof, for more information see the Pull Request
- Add a test for the removal of comments, thx to stof, for more information see the Pull Request
- Add the PHP requirement in the composer.json, thx to stof, for more information see the Pull Request
- Fix the detection of style tags, thx to stof, for more information see the Pull Request
- Remove the useless Selector class, thx to stof, for more information see the Pull Request
- Remove the charset in css-files before processing, thx to mdio
- Several fixes related to UTF8-encoding, thx to techi602, josh18
- php-syntax-highlighting in the examples, thx to Big-Shark
The 2.0 version is a major overhaul, which is not backwards compatible.
- From now on you can re-use the class for multiple mails.
- A lot less complicated options, as in: no more options at all.
- More separate classes which handle their own (tested) methods.
- A lot more tests
The reason why I did this was to made the class more usable.
- Better README + License
- Use DOM instead of regexp in cleanupHTML()
- Use Selector class
- Fixed stripping of XML-header
- Converted $cssRules to a local variable returned by processCSS
- Allow Symfony/CssSelector 3.0
- Removed unneeded stability change
- Fix properties split on base64 encoded url content, thx to tguyard, for more information see the Pull Request
- Reset the xml error handling after usage, thx to stof, for more information see the Pull Request
- Remove version from require, thx to barryvdh, for more information see the Pull Request
- Make sure the XML header is removed.
- Refactor removing style tags, thx to barryvdh, for more information see the Pull Request
- Set excludeMediaQueries to true as default, thx to barryvdh, for more information see the Pull Request
- Normalised eof and removed extra whitespace, thx to GrahamCampbell, for more information see the Pull Request
- Testing Improvements, thx to GrahamCampbell, for more information see the Pull Request
- Add note about charset, thx to barryvdh, for more information see the Pull Request
- Deprecate encoding, thx to barryvdh, for more information see the Pull Request
- Added a .gitattributes file, thx to GrahamCampbell, for more information see the Pull Request
- Exclude vendor files from coverage, thx to barryvdh, for more information see the Pull Request
- Add tests for Specificity and !important, thx to barryvdh, for more information see the Pull Request
- Made the class compliant with PSR4
- Removed the .lock-file for real.
- Refactor specificity, thx to barryvdh, for more information see the Pull Request
- Ignore the composer.lock-file as it doesn't make any sense
- Tests. Massive thumbs up for jbboehr, for more information see the Pull Request
- Tweak for the
!important
attributes-fix, thx to barryvdh, for more information see the Pull Request
- Skip
!important
attributes if needed, thx to barryvdh, for more information see the Pull Request
- Use Xpath instead of regex, thx to stof, for more information see the Pull Request
- sortOnSpecifity is now working correctly, thx to lifo101, for more information see the Pull Request
- introduced a flag to remove media queries before inlining. thx to Stof.
- require php 5.3
- made the class compliant with PSR2.
- made the class available through composer
- beter handling of XHTML output, thx to Michele Locati.
- preserve original styles.
- fixed some code-styling issues
- added support for multiple values
- .class are matched from now on.
- fixed issue with #id
- new beta-feature: added a way to output valid XHTML (thx to Matt Hornsby)
- added setEncoding() to indicate the encoding
- fixed some stuff on specifity
- rewrote the buildXPathQuery-method
- fixed some stuff on specifity
- added a way to use inline style-blocks