summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/qweb/qweb-test-output.xml
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2011-09-05 13:03:09 +0200
committerAntony Lesuisse <al@openerp.com>2011-09-05 13:03:09 +0200
commitbedfc48dcfb066e61209337235e339975dd093d0 (patch)
treefd1bab7b9f21380f1aa3ca7675018f13b4d9e652 /addons/web/static/lib/qweb/qweb-test-output.xml
parent272424894a91aa136952cf88ef206afab5b5505c (diff)
rename base into web part1
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1
Diffstat (limited to 'addons/web/static/lib/qweb/qweb-test-output.xml')
-rw-r--r--addons/web/static/lib/qweb/qweb-test-output.xml51
1 files changed, 51 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
new file mode 100644
index 00000000000..2660e519273
--- /dev/null
+++ b/addons/web/static/lib/qweb/qweb-test-output.xml
@@ -0,0 +1,51 @@
+<templates>
+ <!-- esc, evaluates and returns @t-esc after having xml-escaped it -->
+ <t t-name="esc-literal">
+ <t t-esc="'ok'"/>
+ </t>
+ <t t-name="esc-variable">
+ <t t-esc="ok"/>
+ </t>
+ <t t-name="esc-toescape">
+ <t t-esc="ok"/>
+ </t>
+
+ <!-- escf, same as t-esc, but @t-escf is a format string -->
+ <t t-name="escf-noformat-literal">
+ <t t-escf="ok"/>
+ </t>
+ <t t-name="escf-simpleformat-variable">
+ <t t-escf="#{value}"/>
+ </t>
+ <t t-name="escf-format-variable">
+ <t t-escf="[#{value}]"/>
+ </t>
+ <t t-name="escf-format-variable-with-escapes">
+ <t t-escf="[#{value}]"/>
+ </t>
+
+ <!-- raw, evaluates and returns @t-raw directly (no escaping) -->
+ <t t-name="raw-literal">
+ <t t-raw="'ok'"/>
+ </t>
+ <t t-name="raw-variable">
+ <t t-raw="ok"/>
+ </t>
+ <t t-name="raw-notescaped">
+ <t t-raw="ok"/>
+ </t>
+
+ <!-- rawf, same as t-raw, but @t-rawf is a format string -->
+ <t t-name="rawf-noformat-literal">
+ <t t-escf="ok"/>
+ </t>
+ <t t-name="rawf-simpleformat-variable">
+ <t t-escf="#{value}"/>
+ </t>
+ <t t-name="rawf-format-variable">
+ <t t-escf="[#{value}]"/>
+ </t>
+ <t t-name="rawf-format-variable-notescaped">
+ <t t-rawf="[#{value}]"/>
+ </t>
+</templates>