chore: pager AnsiEsc

This commit is contained in:
2025-06-11 22:13:58 +00:00
parent 9c8a3790c5
commit 8631eac0d4
4 changed files with 33 additions and 14 deletions

View File

@@ -1539,6 +1539,8 @@ render_template(TemplateNode *node, Jsonb *define, StringInfo result, MemoryCont
/* Convert to Jsonb */
Jsonb *context_jsonb = JsonbValueToJsonb(res);
elog(DEBUG1, "Context JSONB: %s", JsonbToCString(NULL, &context_jsonb->root, VARSIZE_ANY_EXHDR(context_jsonb)));
/* Render the section body with the new context */
render_template(current->value->section.body, context_jsonb, result, context);