Remove new lines from color codes

This commit is contained in:
M66B 2020-01-06 18:46:27 +01:00
parent 73cc48ddb7
commit 46e6441a83
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ public class HtmlHelper {
if (kv.length == 2) {
String key = kv[0].trim().toLowerCase(Locale.ROOT);
String value = kv[1].toLowerCase(Locale.ROOT)
.replace(" ", "");
.replaceAll("\\s", "");
switch (key) {
case "color":
String c = value