Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-2-26-24'

This commit is contained in:
Ryan Kurtz 2024-02-26 11:58:09 -05:00
commit b380fd5fa6

View file

@ -391,7 +391,7 @@ public class HTMLUtilities {
Object colorAttribute = attributes.getAttribute(StyleConstants.Foreground);
if (colorAttribute instanceof Color fgColor) {
String hexColor = HTMLUtilities.toHexString(fgColor);
color = "color: % s;".formatted(hexColor);
color = "color: %s;".formatted(hexColor);
}
String escaped = escapeHTML(text);