Commit Graph

301 Commits

Author SHA1 Message Date
Peter Bengtsson cc18022e33 version 2.11.0 fixes the problem with strip_important=False 2016-04-13 16:18:49 -04:00
Peter Bengtsson 18539ced84 Merge pull request #165 from ccorcos/master
Inline Important Tags
2016-04-13 16:17:06 -04:00
Chet Corcos 914a1453a6 fix inline important tags 2016-04-13 13:07:56 -07:00
Peter Bengtsson 4e3b0c3415 version 2.10.1 for ability to capitalize some float margins @JocelynDelalande 2016-03-15 15:37:09 -04:00
Peter Bengtsson dcab22bd74 Merge pull request #144 from oasiswork/jd-capitalize-margin-float
Add an option to capitalize margin and float properties
2016-03-15 15:35:09 -04:00
Peter Bengtsson 7d13751bfe Merge pull request #163 from peterbe/require-requests-instead
require requests instead
2016-03-15 15:34:35 -04:00
Peter Bengtsson cec4a65d53 version 2.10.0 2016-03-15 15:12:40 -04:00
Peter Bengtsson 6423a1302c only build on push on master unless pr 2016-03-15 15:05:52 -04:00
Peter Bengtsson 4b05c1ea48 require requests as a dependency 2016-03-15 15:05:52 -04:00
Peter Bengtsson a841b33af6 2.9.8 with respecting merge orders 2016-03-15 13:59:02 -04:00
Peter Bengtsson 7f223891e4 Merge pull request #160 from machinewu/master
When merge style, don't change the style items' order
2016-03-15 13:39:55 -04:00
machinewu 01f9967e85 When merge style, don't change the style items' order 2016-01-22 23:26:12 +08:00
Peter Bengtsson ab28267201 Merge pull request #158 from mathspace/python35
Add Python 3.5 to tox and travis and drop Python 3.2 support
2016-01-20 21:47:28 -05:00
Peter Schmidt a8622aca13 Drop Python 3.2 support
See also pip>=8.0.0 has the backwards incompatible change of having dropped Python 3.2 support:
https://pip.pypa.io/en/stable/news/#release-notes
2016-01-21 10:45:16 +11:00
Peter Schmidt 393dcf3aec Add Python 3.5 support and fix new flake8 errors 2016-01-20 12:39:29 +11:00
Peter Bengtsson 273e41276a version 2.9.7 with hex color fixes 2016-01-13 13:30:53 -05:00
Peter Bengtsson e5f73b074a Merge pull request #155 from peterbe/tidying-up-branch-for-hex-features-fixes-143-114
Tidying up branch for hex features fixes 143 114
2016-01-13 13:26:27 -05:00
Peter Bengtsson 95b799c6ce pep8 fixes 2016-01-13 13:13:03 -05:00
Michael JasonSmith 8d7813a408 prevent 3 digit hex codes where applicable 2016-01-13 13:13:03 -05:00
Peter Bengtsson 5cda114e29 Merge pull request #154 from peterbe/tox-test-pypy-with-lxml--344
tox test pypy with lxml==3.4.4
2016-01-13 11:58:50 -05:00
Peter Bengtsson c1c51292c5 tox test pypy with lxml==3.4.4 2016-01-13 11:41:10 -05:00
Peter Bengtsson 0ae7a61edd Merge pull request #148 from peterbe/get-coverage-working
get coverage working
2015-11-02 11:00:02 -08:00
Peter Bengtsson 32bc7bfa01 universal wheel 2015-11-02 10:43:49 -08:00
Peter Bengtsson cafee9fb0d exception for py3.2 2015-11-02 10:25:12 -08:00
Peter Bengtsson e9b0ccc9ac update badge 2015-11-02 10:24:00 -08:00
Peter Bengtsson 14c24656fa get coverage working 2015-11-02 10:05:53 -08:00
Jocelyn Delalande 27ac936a22 Add an option to capitalize margin and float properties
The option is disabled by default, that weird idea comes from a weird
outlook.com behaviour to handle margin and float properties only if the
first letter is uppercase.

See https://www.emailonacid.com/blog/article/email-development/outlook.com-does-support-margins
2015-10-27 16:24:39 +01:00
Peter Bengtsson 50d0719ce6 version 2.9.6 2015-09-27 21:49:07 -07:00
Peter Bengtsson cb490b122d reformatting indentation 2015-09-27 21:48:42 -07:00
Peter Bengtsson b65fa6ebbe Merge pull request #138 from lavr/merge-styles-refactoring
Refactor csstext_to_pairs. Fixes #133
2015-09-27 21:41:56 -07:00
Sergey Lavrinenko 82178f309b Refactor csstext_to_pairs. Fixes #133 2015-09-26 02:38:53 +03:00
Peter Bengtsson e5e1feb7d6 version 2.9.5 with the ability to remove unset attributes 2015-09-09 14:09:30 -07:00
Peter Bengtsson ef50922320 Merge pull request #136 from industrydive/feature/unset_removes_attribute
add `unset_removes_attribute` option
2015-09-09 14:08:28 -07:00
David Barbarisi 9d984ba7e4 Adds a remove_unset_properties setting. Squashed commits. 2015-09-09 16:37:38 -04:00
Peter Bengtsson 9c94ebe20e version 2.9.4 2015-09-08 08:17:20 -07:00
Peter Bengtsson cc435cad0f Merge pull request #135 from Tigge/master
Add support for adding align tags on images from css float
2015-09-08 08:15:36 -07:00
Gustav Tiger 89e4ce2a27 Add support for adding align tags on images from css float 2015-09-05 12:11:49 +02:00
Peter Bengtsson c642b55a36 fix for travis deployment and twine 2015-08-15 07:02:23 -07:00
Peter Bengtsson 0c2da4e80c bump to 2.9.3 2015-08-14 11:33:32 -07:00
Peter Bengtsson 0a827f2132 Merge pull request #134 from grupotaric/fix-media-all-is-skipped
Avoid skipping links with media="all"
2015-08-14 11:31:44 -07:00
Javier Santacruz a701c851b3 Avoid skipping links with media="all"
Links with `media="all"` target all devices [as the spec says](http://www.w3.org/TR/CSS2/media.html#media-types), but premailer only processes links with `media="screen"` as :

For example, this `link` will be ignored, and it shouldn't:

```
        <link rel="stylesheet" media="all" type="text/css" href="styles.css">
```

Changed check to process media types `"all"` and `"screen"`.
2015-08-14 19:09:00 +02:00
Peter Bengtsson 67f4e00509 Merge pull request #132 from peterbe/no-need-to-convert-readme-markdown-to-structured-text
no need to convert readme markdown to structured text
2015-07-27 14:32:28 -07:00
Peter Bengtsson 4e74a7d89c no need to convert readme markdown to structured text 2015-07-27 13:54:50 -07:00
Peter Bengtsson 99603f08da bump to version 2.9.2 2015-06-10 16:22:49 -07:00
Peter Bengtsson 4483cc8915 Merge pull request #126 from ionelmc/master
Some improvements for inlining css in a "fragment"
2015-06-10 16:21:25 -07:00
Ionel Cristian Mărieș b0a32e1b96 Add a disable_leftover_css option that disables injecting unapplied css
into <head>.
2015-06-11 00:00:18 +03:00
Peter Bengtsson 2b5acb356d bump to 2.9.1 2015-06-10 10:06:34 -07:00
Peter Bengtsson c170014968 Merge pull request #128 from peterbe/handle-cssutils-warnings-fixes-103
handle cssutils warnings, fixes #103
2015-06-10 10:05:16 -07:00
Peter Bengtsson e9dc872a6b handle cssutils warnings, fixes #103 2015-06-10 09:40:35 -07:00
Peter Bengtsson d2a2a4afdd Merge pull request #125 from graingert/patch-2
Fix grammar in url value error
2015-05-12 14:11:25 -07:00