Name : python3-premailer
| |
Version : 3.0.1
| Vendor : obs://build_opensuse_org/home:frispete
|
Release : 2.3
| Date : 2017-03-08 01:24:54
|
Group : Development/Languages/Python
| Source RPM : python3-premailer-3.0.1-2.3.src.rpm
|
Size : 0.08 MB
| |
Packager : (none)
| |
Summary : Turns CSS blocks into style attributes
|
Description :
Turns CSS blocks into style attributes
When you send HTML emails you can\'t use style tags but instead you have to put inline ``style`` attributes on every element. So from this:
.. code:: html
< html> < style type=\"text/css\"> h1 { border:1px solid black } p { color:red;} < /style> < h1 style=\"font-weight:bolder\">Peter< /h1> < p>Hej< /p> < /html>
You want this:
.. code:: html
< html> < h1 style=\"font-weight:bolder; border:1px solid black\">Peter< /h1> < p style=\"color:red\">Hej< /p> < /html>
premailer does this. It parses an HTML page, looks up ``style`` blocks and parses the CSS. It then uses the ``lxml.html`` parser to modify the DOM tree of the page accordingly.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/frispete:/python3/openSUSE_Leap_42.1/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
python3-premailer
Requires :