diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-19 08:01:11 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-19 08:01:11 +0200 |
| commit | eacb54ae44f655c010fdfc2b7292d24f06ffc445 (patch) | |
| tree | fdcae49d2be2630b559a3b21a131cf4194feeb5e /lib/kernel/record.mli | |
| parent | 7228d0634a960c38da96b80378ec617768dfedf7 (diff) | |
| download | colitur-eacb54ae44f655c010fdfc2b7292d24f06ffc445.tar.gz colitur-eacb54ae44f655c010fdfc2b7292d24f06ffc445.zip | |
feat(render): logic-less template parser
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.
Diffstat (limited to 'lib/kernel/record.mli')
0 files changed, 0 insertions, 0 deletions
