[FIX] compile of rst module descriptions to HTML
authorXavier Morel <xmo@openerp.com>
Tue, 8 Jul 2014 12:39:24 +0000 (14:39 +0200)
committerXavier Morel <xmo@openerp.com>
Tue, 8 Jul 2014 12:39:24 +0000 (14:39 +0200)
commit2f3aa63617d6b951202cfb9a20bc1d4242444544
treecb10fac5e3eb8e6cf083e2f199e290749d39043a
parent2859d24c5e60aa164f440dd9b6f70363c6d304d4
[FIX] compile of rst module descriptions to HTML

lxml (used by the html sanitizer) really does not like documents as unicode
strings with an encoding declaration (which doesn't make sense indeed), yet
docutils with output_encoding=unicode generates one (a stupid one too, says
"encoding=unicode").

Disable the xml declaration altogether when compiling rST module declarations
to HTML.
openerp/addons/base/module/module.py