Open ferki opened 9 years ago
ps.: looks like there's a similar problem with }
in the code block output too
Hmm, actually (some?) other template engines doesn't seem to support these cases either (based on reading Mojo::Template docs so far). Maybe Rex should just fail with a nicer error message?
The following template can be successfully processed by both the old and the new templating engine:
It obviously returns 1.
However the following template can only be successfully processed by the old engine (the only difference is a semicolon):
Template::NG
fails with a syntax error, because it tries to process it internally as: