From f3b1104e93b18a0bd4b36a264f2db236ed14d9d4 Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 14 Apr 2024 21:47:25 +0100 Subject: [PATCH] fix html motd --- src/main/java/xyz/mcutils/backend/common/ColorUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/xyz/mcutils/backend/common/ColorUtils.java b/src/main/java/xyz/mcutils/backend/common/ColorUtils.java index 9840a9a..61c8b8b 100644 --- a/src/main/java/xyz/mcutils/backend/common/ColorUtils.java +++ b/src/main/java/xyz/mcutils/backend/common/ColorUtils.java @@ -60,7 +60,7 @@ public final class ColorUtils { @NonNull public static String toHTML(@NonNull String input) { StringBuilder builder = new StringBuilder(); - builder.append(""); // Open the span tag + builder.append("

"); // Open the span tag boolean nextIsColor = false; // Is the next char a color code? for (char character : input.toCharArray()) { @@ -77,7 +77,7 @@ public final class ColorUtils { } builder.append(character); // Append the char... } - builder.append(""); // Close the span tag + builder.append("

"); // Close the span tag return builder.toString(); } } \ No newline at end of file