You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With further investigation, I realize that it's a matter of spaces, but only if it's written like {{var | filter}} not as {{var | filter }} <- note the space at the end.
The ternary filter is sensitive about spacing before an argument.
Describe the bug
The only filter that seems to work in the summary is the date one. All others are inert.
To Reproduce
summary = "{{ title | upper }} / {{ title | lower }} / {{ title | truncate(3) }} / {{ nonexistant | default('Hello') }} / {{mytruth | ternary('Yep','Nope') }} / {{today | date('yyyy') }}" yields
Title / Title / Title / / / 2024
Booleans don't display at all whether true or false (might be expected tho)
Expected behavior
TITLE / title / Tit / Hello / Yep / 2024
Applicable Versions:
Additional context
Booleans don't display at all whether true or false (might be expected tho)
The text was updated successfully, but these errors were encountered: