pystache
pystache copied to clipboard
Missing tags - instead of replacing with empty string, leave them untouched to be rendered later
From the docs "missing_tags: a string specifying how to handle missing tags. If 'strict', an error is raised on a missing tag. If 'ignore', the value of the tag is the empty string."
In the case of 'ignore', in my opinion, it's not really ignoring the tag, because it is replacing it with an empty string. I want it to really ignore it and not replace it with anything (leave the tag untouched in the template). That way I can render a few tags now and then render the rest later when those values are available. Basically a two stage rendering.
Is there any way currently to do this?