Géry Debongnie
2e176f135d
[FIX] compiler: allow t-if with empty content
2022-02-11 10:46:44 +01:00
Géry Debongnie
8a1ac13975
[IMP] add support for top level comments
2022-02-11 10:46:44 +01:00
Géry Debongnie
a8d8310b8e
[REF] code_generator: move generating code to CodeTarget
...
Before this commit, we had two places with code that generate a function
code. Now, all this code is moved in a method 'generateCode' on
CodeTarget.
2022-02-11 10:46:44 +01:00
Géry Debongnie
0bbea351a6
[FIX] compiler: call dynamic templates with correct this
2022-02-11 10:46:44 +01:00
Samuel Degueldre
7143dd3ff5
[FIX] components: capture context in prop expressions
2022-02-11 10:41:18 +01:00
Bruno Boi
5d4a38ad0f
[IMP] svg namespace support
2022-02-11 10:41:18 +01:00
Lucas Perais (lpe)
b902edc1be
[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.
2022-02-11 10:41:18 +01:00
Bruno Boi
db93ef08ff
[IMP] templates: can load multiple at once and also from XMLDocument
2022-02-11 10:41:18 +01:00
Géry Debongnie
1700a6fba3
[REF] compiler: rename qweb/ into compiler/
2022-02-11 10:41:18 +01:00