Parse block parameter values like variables
This allows for complex values to be used in parameters while also supporting standard literals.
This commit is contained in:
parent
bf331cafba
commit
9f92f5c9e8
@ -63,7 +63,7 @@ block_parameter
|
||||
;
|
||||
block_parameter_value
|
||||
=
|
||||
{ALPHA}+
|
||||
variable_identifier
|
||||
;
|
||||
|
||||
variable_expression
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{% with key=val %}
|
||||
{% with key=val.test %}
|
||||
{{ dict_var['single']["double"].dot |test(first ,second, third)|filter | lastFilter}}
|
||||
{%block single key=val param=value %}
|
||||
test {{var}}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user