[IMP] tools.html2plaintext: consistent use of lxml.etree.HTMLParser to convert HTML...
authorOlivier Dony <odo@openerp.com>
Mon, 15 Oct 2012 12:09:34 +0000 (14:09 +0200)
committerOlivier Dony <odo@openerp.com>
Mon, 15 Oct 2012 12:09:34 +0000 (14:09 +0200)
commite06e3aad4a98450300018ceecf502b789224301a
treed95b42752a26d6d09fc4c9ed5e6baa2d514c8aec
parent99c4f31111ee47b6ec8a844760790a8f21adb79a
[IMP] tools.html2plaintext: consistent use of lxml.etree.HTMLParser to convert HTML to plaintext

We used to switch to using BeautifulSoup when available, but that
lead to inconsistent behavior depending on the installed Python
packages, and sometimes lead to bad surprises. There is no advantage
in using BeautifulSoup rather than HTMLParser, and the latter is
always available.

bzr revid: odo@openerp.com-20121015120934-njaylf99dc5zekfw
openerp/tools/misc.py