premailex

Preflight for your HTML emails - inline styling and plain text.

MIT License

Downloads
25.1M
Stars
170
Committers
11

Bot releases are hidden (Show)

premailex - v0.3.19 Latest Release

Published by danschultzer 11 months ago

  • Ignore @charset CSS at-rule #83 (by @backspace)
premailex - v0.3.18

Published by danschultzer over 1 year ago

  • Fixed bug in Premailex.HTMLToPlainText.parse/3 with <thread>, <tbody>, <tfoot> being excluded if the HTML element had any attributes
premailex - v0.3.17

Published by danschultzer over 1 year ago

  • Premailex.HTMLInlineStyles.process/3 now warns when styles can't be loaded from URL's #74
  • Premailex.HTMLInlineStyles.process/1 now parses <thead> and <tfoot> elements #75
  • Premailex.CSSParser.parse/1 now handles escaped commas #77
  • Require Elixir 1.11 #74
premailex - v0.3.16

Published by danschultzer over 2 years ago

  • Premailex.CSSParser.to_string/1 now adds whitespace between inline style rules #73
premailex - v0.3.15

Published by danschultzer over 2 years ago

  • Fixed invalid spec in Premailex.Util.traverse/3 #71
premailex - v0.3.14

Published by danschultzer over 2 years ago

  • Added horizontal rule parsing to Premailex.HTMLToPlainText.process/1 #67
  • Premailex.Util.traverse/3 no longer strips comments #68
  • Premailex.HTMLInlineStyles.process/3 strips empty comments #68
  • Premailex.HTMLInlineStyles.process/3 now applies styles to <html> elements #69
premailex - v0.3.13

Published by danschultzer almost 4 years ago

Fixed spec and docs issues. #58 #59

premailex - v0.3.12

Published by danschultzer about 4 years ago

Changes

  • Premailex.HTMLInlineStyles.process/3 now supports passing in CSS as an argument #57
premailex - v0.3.11

Published by danschultzer about 4 years ago

Changes

  • Fixed bug where the inline styles where applied to more than the first match causing in some cases styles to be missing for subsequent parent elements #53
  • Relax floki requirement #54
  • Relax meeseeks requirement #54
premailex - v0.3.10

Published by danschultzer almost 5 years ago

Changes

  • Support floki up to v0.24.x
premailex - v0.3.9

Published by danschultzer about 5 years ago

Changes

  • Ignore @font-face at-rule #49
premailex - v0.3.8

Published by danschultzer about 5 years ago

Changes

  • Removed HTTPoison and use :httpc instead #42
  • Fixed bug where HTML with no style tags resulted in all existing inline styles being removed #44
  • Added is_binary/1 guard to Premailex.to_inline_css/2 and Premailex.to_text/1 #45
premailex - v0.3.7

Published by danschultzer over 5 years ago

Changes

  • Preserve downlevel-revealed conditional comments in Premailex.Util.traverse/3 #38
premailex - v0.3.6

Published by danschultzer over 5 years ago

Changes

  • Preserve conditional comments in Premailex.Util.traverse/3 so they can show up in output from Premailex.HTMLInlineStyles.process/2 #37
premailex - v0.3.5

Published by danschultzer over 5 years ago

Changes

  • Accept <table> with <th> elements. #35
premailex - v0.3.4

Published by danschultzer almost 6 years ago

Changes

  • HTTP adapter for HTTPoison that handles redirects #31 #32 (thanks Przemyslaw Mroczek @Lackoftactics)
premailex - v0.3.3

Published by danschultzer almost 6 years ago

Changes

  • Ignore @media queries #28 #29
premailex - v0.3.2

Published by danschultzer almost 6 years ago

Changes

  • Remove bypass for tests and make http adapter configurable #27
  • Test with updated dependencies #26
premailex - v0.3.1

Published by danschultzer about 6 years ago

Bug fixes

  • Handle url values in css rules correctly #25
premailex - v0.3.0

Published by danschultzer about 6 years ago

Changes

  • Meeseeks v0.8.0 no longer supported #23
  • Ensure Elixir 1.7 support #22