hughperkins / Jinja2CppLight

(very) lightweight version of Jinja2 for C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not possible to escape placeholder brackets

kindkaktus opened this issue · comments

At the moment there is no way to instantiate a template having '{{' or '}}' or '{%' or '%}' without interpreting them as a part of a placeholder.

It should be possible to escape these symbols somehow, for example by doubling them '{{' -> '{{{{' or by preceding with a slash '{{' -> '\{\{'