Conversation
|
This is a weird behaviour. Liquid, which was the inspiration for this project just returns empty string: https://liquidjs.com/playground.html#PHA+SGVsbG8sIHt7dGVzdH19IDwvcD4K,e30= |
|
I understand but at the same time there is no way to achieve the opposite behavior (not rendering a template). To get an empty string of the variable is not defined I'd expect the use of a filter like |
|
Another solution for the |
|
I just realized that while the solution I had proposed (and implemented) works, it does not work with recursive |
Do not render templates referencing undefined props. See stepci/stepci#220 for a use case explanation.