incorrect templates often just render as '' with no exception or other error
Bug #1053752 reported by
James Westby
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pybars |
Triaged
|
Low
|
Unassigned |
Bug Description
With a template like
{{#if foo}}
Something
{{#else}}
Something else
{{/if}}
You get an empty string back when rendered. If you correct {{else}} then you get what
you would expect.
I didn't see any exception for a bad template, but maybe that's intentional?
Thanks,
James
To post a comment you must log in.
I've found it hard to reliably trigger an error on failed- to-consume- everything in the compiler.