Commit Graph

312 Commits

Author SHA1 Message Date
Frédéric Péters 9952ed6711 debian: add package for Python 3 module 2020-04-18 11:07:33 +02:00
Peter Bengtsson 4f6397ea9b bump to version 3.1.1 2017-10-25 23:04:54 +02:00
Peter Bengtsson 5e85b9b2ac no exclude_pseudoclasses without selector value, fixes #184 (#185) 2017-10-25 23:04:54 +02:00
Peter Bengtsson 5120e5624e version 3.1.0 2017-10-25 23:04:54 +02:00
Michal Proszek 2a5b7e2aa3 APD-363 - [BE] do not replace tel: links with base_url (#1) (#183)
* APD-363 - [BE] do not replace tel: links with base_url

* Correct typo

* Correct test html

* Correct description grammar
2017-10-25 23:04:54 +02:00
Peter Bengtsson 00dc70dbe2 update setup.py to reflect that it works in 3.5 and 3.6 2017-10-25 23:04:54 +02:00
Raphael Gaschignard 46be709768 Test Python 3.6 as well (#180) 2017-10-25 23:04:54 +02:00
Peter Bengtsson a9213cc7b9 version 3.0.1 2017-10-25 23:04:54 +02:00
James Howe fba7ac7da8 Allow setting encoding from command-line. (#169)
* Allow setting encoding from command-line.

Passing `--encoding ascii` should fix issues #93, #100, #152 and #157.

* PEP8 fixes
2017-10-25 23:04:54 +02:00
Serghei Mihai 1314175b0a debian: initial packaging 2016-07-07 17:02:11 +02:00
Peter Bengtsson cfe687b05b keep classes by default, fixes #33 (#167)
* keep classes by default, fixes #33

* full test coverage
2016-06-07 09:59:45 -04:00
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