odoo/addons/website/models
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] mail,website: improve update_notification 2014-09-15 18:53:22 +02:00
ir_actions.py [FIX] ir_actions in website: allow to compute website_path even when creating a new server action (avoid crash then) 2014-08-08 11:43:28 +02:00
ir_http.py [FIX] account, mail, etc.: uniformize evaluated expressions 2015-05-21 15:26:35 +02:00
ir_qweb.py [FIX] ir_qweb, website_blog: Allow to pass inline style as an option for the widget image. And change some img from blog to use this widget 2014-11-05 11:11:26 +01:00
ir_ui_view.py [FIX] website, base: escaping and unescaping html 2015-08-13 15:15:24 +02:00
res_config.py [FIX] website: can not change website name 2014-12-01 16:50:51 +01:00
test_models.py [IMP] website: disable translation exports for test models 2014-07-30 13:24:39 +02:00
update.py [IMP] mail,website: improve update_notification 2014-09-15 18:53:22 +02:00
website.py [FIX] website: json are not multilang by default. 2015-04-08 18:31:43 +02:00