First attempt at fixing by reading all indirect references containing a reference to a single value as the original value is a failure. Turns out the @size helper treats numeric types in indirect references differently.

This commit is contained in:
Tom Alexander
2020-06-14 14:51:31 -04:00
parent 716a110d2e
commit e70f397545
2 changed files with 34 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
The size of val ({val|js|s}) is {@size key=val /}{~n}
The size of "{~lb}val{~rb}" is {@size key="{val}" /}{~n}
{#val foo="{val}"}
The size of foo ({foo|js|s}) is {@size key=foo /}{~n}
The size of "{~lb}foo{~rb}" is {@size key="{foo}" /}{~n}
{:else}
The size of foo ({foo|js|s}) is {@size key=foo /}{~n}
The size of "{~lb}foo{~rb}" is {@size key="{foo}" /}{~n}
{/val}
The size with no key is {@size /}{~n}