Open mimecine opened 1 month ago
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.
Chaining filters doesn't work.
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)