1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 03:05:31 +00:00

Remove new lines from color codes

This commit is contained in:
M66B 2020-01-06 18:46:27 +01:00
parent 73cc48ddb7
commit 46e6441a83

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