From 94a203a1335ccc3b6bd1238f7044f0b09d76d686 Mon Sep 17 00:00:00 2001 From: Tammo ter Hark Date: Thu, 26 Nov 2026 20:21:33 +0100 Subject: [PATCH] fix(options): render newline in button optionlabels as
(Base font size "XLarge / (20 px)") The fontsize option label "XLarge (20 px)" in config.xml survived XML parsing as a real newline, but gT() html-escapes LF to (HTMLEscape), so splitting the gT()'d label on "\n" was a no-op and the entity printed literally. Split the raw label first, then gT() each part separately. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- config.xml | 2 +- options/options.twig | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config.xml b/config.xml index 95de3b0..0ab18a4 100644 --- a/config.xml +++ b/config.xml @@ -381,7 +381,7 @@ size/weight options below. HOUSE-STYLE: fontcolor, primarycolor and secondarycolor are set per variant via variants/.json. --> #444444 - 16px + 16px