Test fixes

This commit is contained in:
dragonmacher 2024-02-26 11:56:55 -05:00
parent 5a4315fb39
commit aee400a377

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);