diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-12-16 10:23:30 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-12-16 10:23:30 +0100 |
| commit | f6a5800d599c6cc6025bad00619799732bcffb17 (patch) | |
| tree | 21473bbb62b8d0957209e6f00051cad0d99334a3 /doc | |
| parent | f9e986ecea8d7b6a782812a8352e40f186f51397 (diff) | |
[ADD] ability to disable fields escaping
bzr revid: xmo@openerp.com-20131216092330-2v50c8uzzsb3qp8q
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/06_misc_qweb.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/06_misc_qweb.rst b/doc/06_misc_qweb.rst index 227ea211c92..4f3284d913f 100644 --- a/doc/06_misc_qweb.rst +++ b/doc/06_misc_qweb.rst @@ -22,6 +22,13 @@ column, but this can be overridden by providing a ``widget`` as field option. Field options are specified through ``t-field-options``, which must be a JSON object (map). Custom widgets may define their own (possibly mandatory) options. +Global options +-------------- + +A global option ``html-escape`` is provided. It defaults to ``True``, and for +many (not all) fields it determines whether the field's output will be +html-escaped before being output. + Date and datetime converters ---------------------------- @@ -88,3 +95,4 @@ The duration must be a positive number, and no rounding is applied. .. _ldml date format patterns: http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns + |
