[IMP] html_sanitize: remove dependency on pyquery.
authorVo Minh Thu <vmt@openerp.com>
Thu, 16 Aug 2012 10:45:40 +0000 (12:45 +0200)
committerVo Minh Thu <vmt@openerp.com>
Thu, 16 Aug 2012 10:45:40 +0000 (12:45 +0200)
commitae4852f597aeef87b7b50da83eba2b14c7ef9da9
treef6e930343962d908ebab37781ddda0f00c55e9ef
parent610f3f5931486d2b274aa2533abbcac416f121ee
[IMP] html_sanitize: remove dependency on pyquery.

Relying on pyquery is unnecessary (using etree alone is enough). This patch
reimplements the html_sanitize() function without pyquery. The new
implementation still goes through the provided test suite with success.

bzr revid: vmt@openerp.com-20120816104540-9374llhzde54h2vz
openerp/tests/__init__.py
openerp/tools/html_sanitize.py
setup.py