Is there any pure python library to use on Google App Engine which allow to convert HTML with CSS class into HTML with styles only for emailing purpose on gmail.
Want to make such conversion on google app engine.
XHTML with CSS class:
xxx
yyy
Considering that CSS is such:
p.xx, p.yy { font-size: 120%; }
p.yy { color:red; }
I want to convert XHTML classes into styles to remove CSS inclusion as it required by Gmail:
xx
yy
Is any hint - I could try to code it in regex since CSS is simple but not want to invent the wheel again.
以上就是How to convert HTML CSS class into style in pure python - what kind of library could be used on GAE ..的详细内容,更多请关注web前端其它相关文章!