Géry Debongnie
e8b0f31da6
[IMP] compiler: improve generated compiled code
2021-12-22 13:30:09 +01:00
Géry Debongnie
a727347d60
[REF] tests: improve test helpers
...
- remove snapshotApp
- remove addTemplates
- simplify helpers
- make sure snapshotted templates are snapshotted with the app config
2021-12-20 12:43:36 +01:00
Géry Debongnie
60b8817ac0
[REF] compiler: simplify all compiled templates
2021-12-01 17:25:31 +01:00
Géry Debongnie
777b2aae5e
[IMP] add support for top level comments
2021-11-29 15:36:45 +01:00
Lucas Perais (lpe)
6ea40a66da
[IMP] app, compiler: introduce t-out
...
t-out automatically escaped content when it is a string not marked
with the `markup` function
t-out renders the raw content if it is a Block, or if it has been marked
with the `markup` funtion.
t-esc has been kept since it is safe and is optimized to render text nodes.
all t-raw calls are in fact the same as t-out.
2021-11-16 14:37:53 +01:00
Géry Debongnie
9e285e1e0a
[FIX] unskip tests
2021-11-15 09:35:13 +01:00
Bruno Boi
233c953243
[IMP] qweb: introduce t-model directive
...
supported modifiers: lazy, trim, number
2021-11-03 15:25:21 +01:00
Mathieu Duckerts-Antoine
ba2fe3ff55
[IMP] qweb: t-props directive
...
We reimplement the directive "t-props" and add some tests for it.
2021-10-20 15:52:43 +02:00