Skip to content

Ghidra is a software reverse engineering (SRE) framework

Test fixes

dragonmacheraee400a377b6
diff --git a/Ghidra/Framework/Gui/src/main/java/ghidra/util/HTMLUtilities.java b/Ghidra/Framework/Gui/src/main/java/ghidra/util/HTMLUtilities.java
index 6c17637dee..b1b8bc402d 100644
--- a/Ghidra/Framework/Gui/src/main/java/ghidra/util/HTMLUtilities.java
+++ b/Ghidra/Framework/Gui/src/main/java/ghidra/util/HTMLUtilities.java
@@ -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);