fix(options): render newline in button optionlabels as <br> (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 <vibe@mistral.ai>
This commit is contained in:
parent
02e9babe7c
commit
94a203a133
1 changed files with 7 additions and 2 deletions
|
|
@ -381,7 +381,7 @@
|
|||
size/weight options below. HOUSE-STYLE: fontcolor, primarycolor and
|
||||
secondarycolor are set per variant via variants/<client>.json. -->
|
||||
<fontcolor type="colorpicker" category="Fonts" width="12" title="Default font color (body text)" options="on|off" optionlabels="Yes|No">#444444</fontcolor>
|
||||
<fontsize type="buttons" category="Fonts" width="12" title="Base font size (body text)" options="14px|16px|18px|20px" optionlabels="Small (14px)|Normal (16px)|Large (18px)|XLarge (20 px)">16px</fontsize>
|
||||
<fontsize type="buttons" category="Fonts" width="12" title="Base font size (body text)" options="14px|16px|18px|20px" optionlabels="Small (14px)|Normal (16px)|Large (18px)|XLarge (20 px)">16px</fontsize>
|
||||
<!-- Row 124: "Default background color" — column 1 of the colors row in the
|
||||
"Default fonts and colors" tab (that row is now 4 columns). It is also the
|
||||
5th preset of the experimental color-chooser (navbarfontcolor dropdown +
|
||||
|
|
|
|||
Loading…
Reference in a new issue