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:
Kevin Brown 2020-05-08 06:31:56 -04:00 committed by Kevin
parent bf331cafba
commit 9f92f5c9e8
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ block_parameter
;
block_parameter_value
=
{ALPHA}+
variable_identifier
;
variable_expression

View File

@ -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}}