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
When no helper matches {{some_variable}} in a template, the output HTML contains the input string; {{some_variable}}
Expected behaviour:
When no helper matches {{some_variable}} in a template, the output HTML contains an empty string in its place. Template variables should universally support a default keyword argument, such that {{helperless_variable default="default value"}} outputs default value.
The text was updated successfully, but these errors were encountered:
On Thu, Aug 15, 2019 at 3:05 PM Robin Saxifrage ***@***.***> wrote:
Ah, gotcha. I'd label this issue as documentation needed then.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#58?email_source=notifications&email_token=AABGIP7RQANZ6VXXUQ3B6N3QEXHIZA5CNFSM4ILZFN2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4NEA7Q#issuecomment-521814142>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABGIP5W36HO43YY4RWBNPLQEXHIZANCNFSM4ILZFN2A>
.
Current behaviour:
When no helper matches
{{some_variable}}
in a template, the output HTML contains the input string;{{some_variable}}
Expected behaviour:
When no helper matches
{{some_variable}}
in a template, the output HTML contains an empty string in its place. Template variables should universally support adefault
keyword argument, such that{{helperless_variable default="default value"}}
outputsdefault value
.The text was updated successfully, but these errors were encountered: