On Thursday, 2 January 2014 at 10:59:27 UTC, Jacob Carlborg wrote:
Nice. Do you have any concept of safe vs unsafe strings?

That's a really good idea...
[the day passes by]

Support implemented in v0.5.0: https://github.com/dymk/temple#filter-policies

FilterPolicies allow the developer to insert hooks for when an expression is appended to the buffer. This can be overloaded for different types of expressions, letting concepts like Tainted strings (e.g. your safe vs. unsafe strings) to be implemented. I added an example to the README showing a simple example of this.

Reply via email to