aboutsummaryrefslogtreecommitdiff
path: root/test/test_template.ml
Commit message (Collapse)AuthorAgeFilesLines
* feat(render): logic-less template parserLukasz Kasprzak2026-08-191-0/+61
Placeholders, sections, inverted sections, comments. Nothing else: no partials, no lambdas, no expression evaluation, no raw form. A template is data, never a program, which is what keeps an untrusted template safe. Errors rather than silence on a malformed template: an unterminated tag, an unclosed section, a mismatched close and a partial all return Error. Swallowing '{{name' as text is how a typo becomes invisible missing output in a printed booklet.