[REF] qweb: drop support of #{.} string interpolation

We only support the {{.}} syntax.

Part of #128
This commit is contained in:
Aaron Bohy
2019-06-07 08:58:02 +02:00
committed by Géry Debongnie
parent e14a4fe338
commit b14d069ee7
4 changed files with 8 additions and 34 deletions
-7
View File
@@ -357,13 +357,6 @@ If an expression evaluates to a falsy value, it will not be set at all:
There is another way to format a string attribute: the `t-attf-` directive. With
it, you get string interpolation:
```xml
<div t-attf-foo="a #{value1} is #{value2} of #{value3} ]"/>
<!-- result if values are set to 1,2 and 3: <div foo="a 0 is 1 of 2 ]"></div> -->
```
For historical reason, there is an alternate form of string interpolation:
```xml
<div t-attf-foo="a {{value1}} is {{value2}} of {{value3}} ]"/>
<!-- result if values are set to 1,2 and 3: <div foo="a 0 is 1 of 2 ]"></div> -->