Skip to content

A few new features#1

Open
vanderlee wants to merge 35 commits intoProducteev:masterfrom
vanderlee:master
Open

A few new features#1
vanderlee wants to merge 35 commits intoProducteev:masterfrom
vanderlee:master

Conversation

@vanderlee
Copy link

This adds changes by a couple of forks and my own changes to the code.
Basically:

  • PHP 5.2 compatibility without the global constants.
  • Attribute to allow NOT overwriting existing styles (which, IMHO, is closer to how browsers work).
  • Feature to specify selectors which will be excluded from emogrification (i.e. when mixing HTML from different sources).

lyoshenka and others added 29 commits November 15, 2012 16:04
Merge lyoshenka's changes (Updated emogrifier to use PSR standards [lyoshenka])
Remove execute bit on text files.
… have media-query in <style> tags that control the layout. Previously, these would have been parsed inline regardless of context.
Clean up the Emogrifier class a little to make it work for silverorange's needs
…tching a selector in excludeSelectors will not be modified.
Push up a couple additions from Martijn to the compser file and overwriting existing CSS classes
Push up code from Martijn to allow excluding certain tags from inline CSS. He also fixes a small error with skipping media queries.
@jmig
Copy link
Contributor

jmig commented Jun 5, 2013

Ping @lasryaric, need to review that! Seems very interesting!

@oliverklee
Copy link

Hi all,

Emogrifier now has an official repository:

https://github.com/jjriv/emogrifier

I'd love to see your contributions there (as pull requests) so we can avoid parallel work.

And Jerome, maybe you would be willing to contribute there as well (or fork the official repository) and drop the copy?

Oli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants