From f08bd403de1d098c7e85f7677ecaf54a4ad00f95 Mon Sep 17 00:00:00 2001 From: giles Date: Fri, 6 Mar 2026 21:26:38 +0000 Subject: [PATCH] Remove wrong brace escaping from pages_sx str.format() doesn't re-process braces inside substituted values, so the escaping was producing literal doubled braces {{:name...}} in the output, which the SX parser couldn't parse. Co-Authored-By: Claude Opus 4.6 --- shared/sx/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/sx/helpers.py b/shared/sx/helpers.py index 05e29b9..a2bf9b9 100644 --- a/shared/sx/helpers.py +++ b/shared/sx/helpers.py @@ -764,7 +764,7 @@ def sx_page(ctx: dict, page_sx: str, *, component_defs=component_defs, styles_hash=styles_hash, styles_json=styles_json, - pages_sx=pages_sx.replace("{", "{{").replace("}", "}}"), + pages_sx=pages_sx, page_sx=page_sx, sx_css=sx_css, sx_css_classes=sx_css_classes,