PreMailer.Net

C# library that moves your stylesheets to inline style attributes, for maximum compatibility with E-mail clients.

MIT License

Stars
639
Committers
48

Bot releases are hidden (Show)

PreMailer.Net - v1.4.1

Published by martinnormark over 9 years ago

Added support for premailer-specific CSS #64
Compiled Regexes for speed #62

PreMailer.Net - v1.4.0

Published by martinnormark over 9 years ago

Add analytics tags (utm_source, utm_medium, utm_campaign and utm_content) to links using PreMailer #61

PreMailer.Net - v1.3.1

Published by martinnormark over 9 years ago

Improve splitting Css styles with semicolons not inside quotes #60

PreMailer.Net - v1.3.0

Published by martinnormark over 9 years ago

Fixed issue when building PreMailer in RELEASE configuration #56
Pass stylesheet in CSS param to PreMailer #45
Add option to strip id and class attributes after inlining #55

Change build configuration of Nu Get package to RELEASE

PreMailer.Net - v1.2.9

Published by martinnormark almost 10 years ago

Added tests and fix for image dimensions issue #52

PreMailer.Net - v1.2.8

Published by martinnormark almost 10 years ago

Handle import statements in input css #50

PreMailer.Net - v1.2.7

Published by martinnormark almost 10 years ago

Add support for setting bgcolor HTML attribute #47

PreMailer.Net - v1.2.6

Published by martinnormark over 10 years ago

Don't force lowercase on rules and values #42

PreMailer.Net - v1.2.5

Published by martinnormark over 10 years ago

Adds support for media queries #41
Fix issue with URLs within style decarations #40
Honour the important flag #39

PreMailer.Net - v1.2.4

Published by martinnormark over 10 years ago

Fixes

CSS specificity bug #32
Add Support Pseudo Selectors Implemented by CSQuery #34

PreMailer.Net - v1.2.3

Published by martinnormark almost 11 years ago

Fixes #30

PreMailer.Net - v1.2.2

Published by martinnormark almost 11 years ago

BREAKING CHANGES

The result returned by PreMailer.Net is no longer a string, but a class that contains an Html property which contains the premailed HTML result.

The MoveCssInline method are now static, see updated usage in the README: https://github.com/milkshakesoftware/PreMailer.Net#usage

Merge pull request #29

PreMailer.Net - v1.2.1

Published by martinnormark almost 11 years ago

Fixes issue with unknown pseudo class 'link': #17

Merge pull request #26

PreMailer.Net - v1.2.0

Published by martinnormark almost 11 years ago

BREAKING CHANGE

Changes the way mobile styles are ignored. You now need to specify a CSS selector, to find the style tags that should not be inlined! See README for reference.

Fixes issue with multiple style tags: #23 and improves CSS specificity calculation: #24

PreMailer.Net - v1.1.3

Published by martinnormark almost 11 years ago

Fixes CSS specificity issues #2, #20

Removes dependency on HTML Agility Pack, and uses CsQuery instead, via PR #19