odoo/addons/website/tests
Nicolas Lempereur cdb9000449 [FIX] website, base: escaping and unescaping html
When saving a template in version 8.0, html would be saved as it should
be displayed once on the site. In particular, if some text should be
escaped once send to the browser, it will be saved as such.

But when rendering, a text node content is unescaped two times:

* for translation which seems wrong since we already use .text of a node
  which already escaped it, doing it one more time is bad,

* when rendering the template, since the html template is stored in xml,

This commit remove superfluous unescaping for translation, and add an
escaping when saving the changed template content.

closes #7967
opw-646889
2015-08-13 15:15:24 +02:00
..
__init__.py [IMP] test impprove HTTPCase opener 2014-06-29 20:04:30 +02:00
test_converter.py [IMP] use model._fields instead of model._all_columns to cover all fields 2014-11-04 13:47:57 +01:00
test_crawl.py [IMP] website: improve speed of test crawl and load only one slug by route 2015-02-12 12:26:23 +01:00
test_ui.py [MERGE] backend front end integration 2014-06-27 11:03:34 +02:00
test_views.py [FIX] website, base: escaping and unescaping html 2015-08-13 15:15:24 +02:00