fix html motd
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m39s

This commit is contained in:
Lee 2024-04-14 21:47:25 +01:00
parent 1d597d5d92
commit f3b1104e93

@ -60,7 +60,7 @@ public final class ColorUtils {
@NonNull
public static String toHTML(@NonNull String input) {
StringBuilder builder = new StringBuilder();
builder.append("<span>"); // Open the span tag
builder.append("<p>"); // 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("</span>"); // Close the span tag
builder.append("</p>"); // Close the span tag
return builder.toString();
}
}