[IMP] tools: mail: improved html_email_clean
authorThibault Delavallée <tde@openerp.com>
Mon, 23 Sep 2013 11:29:39 +0000 (13:29 +0200)
committerThibault Delavallée <tde@openerp.com>
Mon, 23 Sep 2013 11:29:39 +0000 (13:29 +0200)
commitbe966b02c7bfa1553a58b42fa013f8ab9c1388eb
treeadbc2d47e9069fe188bb56f24d6661926b8ccff0
parent6188a2af5bd7a210f15a4e7f1c6991ba0bfd19b3
[IMP] tools: mail: improved html_email_clean
- 'read more' links are now in the last container, not after, allowing to have read more
links embedded inside shortened paragraphs
- added expand_options dict allowing to customize the read more

bzr revid: tde@openerp.com-20130923112939-0ab4idlzqpug00xz
openerp/tools/mail.py