diff options
| author | Xavier Morel <xmo@openerp.com> | 2014-09-08 16:55:46 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2014-10-06 19:13:42 +0200 |
| commit | bed6b01c53b520591e6f693dbb5c25cc5b772bbc (patch) | |
| tree | e3cfcc8e32e4cdbc10db47c1e9a73334ed8180de /addons/web/static/lib/qweb/qweb-test-output.xml | |
| parent | 4fb49a67f39c5a2c1d56d8c171ab91f81f5cb307 (diff) | |
[ADD] qweb-js: escf, rawf for parity with Python version
Diffstat (limited to 'addons/web/static/lib/qweb/qweb-test-output.xml')
| -rw-r--r-- | addons/web/static/lib/qweb/qweb-test-output.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/addons/web/static/lib/qweb/qweb-test-output.xml b/addons/web/static/lib/qweb/qweb-test-output.xml index 1135ad9f251..8725bb00a8f 100644 --- a/addons/web/static/lib/qweb/qweb-test-output.xml +++ b/addons/web/static/lib/qweb/qweb-test-output.xml @@ -9,6 +9,19 @@ <t t-name="esc-toescape"> <t t-esc="ok"/> </t> + <!-- formatted esc --> + <t t-name="escf-literal"> + <t t-escf="ok"/> + </t> + <t t-name="escf-variable"> + <t t-escf="{{ ok }}"/> + </t> + <t t-name="escf-toescape"> + <t t-escf="{{ ok }}"/> + </t> + <t t-name="escf-mix"> + <t t-escf="[{{ ok }}]"/> + </t> <!-- raw, evaluates and returns @t-raw directly (no escaping) --> <t t-name="raw-literal"> @@ -20,4 +33,14 @@ <t t-name="raw-notescaped"> <t t-raw="ok"/> </t> + <!-- formatted raw --> + <t t-name="rawf-literal"> + <t t-rawf="ok"/> + </t> + <t t-name="rawf-variable"> + <t t-rawf="{{ ok }}"/> + </t> + <t t-name="rawf-notescaped"> + <t t-rawf="{{ ok }}"/> + </t> </templates> |
