Overview

Request 1008043 accepted

- Update to version 3.10.0
New option session=None to provide the session used for making http requests.
Bug fix: inlined styles are no longer sorted alphabetically. This preserves the input rule order so that premailer does not break style
precedence where order is significant, e.g.
div {
/* Padding on all sides is 10px. */
padding-left: 5px;
padding: 10px;
}
div {
/* Padding on the left side is 5px, on other sides is 10px. */
padding: 10px;
padding-left: 5px;
}
Prior to this fix premailer would swap the rules in the first example to look like the second.
Other version change log https://github.com/peterbe/premailer/blob/master/CHANGES.rst

Request History
Yogalakshmi Arunachalam's avatar

yarunachalam created request

- Update to version 3.10.0
New option session=None to provide the session used for making http requests.
Bug fix: inlined styles are no longer sorted alphabetically. This preserves the input rule order so that premailer does not break style
precedence where order is significant, e.g.
div {
/* Padding on all sides is 10px. */
padding-left: 5px;
padding: 10px;
}
div {
/* Padding on the left side is 5px, on other sides is 10px. */
padding: 10px;
padding-left: 5px;
}
Prior to this fix premailer would swap the rules in the first example to look like the second.
Other version change log https://github.com/peterbe/premailer/blob/master/CHANGES.rst


Daniel Garcia's avatar

dgarcia accepted request

openSUSE Build Service is sponsored by