mirror of https://github.com/M66B/FairEmail.git
Remove new lines from color codes
This commit is contained in:
parent
73cc48ddb7
commit
46e6441a83
|
@ -176,7 +176,7 @@ public class HtmlHelper {
|
||||||
if (kv.length == 2) {
|
if (kv.length == 2) {
|
||||||
String key = kv[0].trim().toLowerCase(Locale.ROOT);
|
String key = kv[0].trim().toLowerCase(Locale.ROOT);
|
||||||
String value = kv[1].toLowerCase(Locale.ROOT)
|
String value = kv[1].toLowerCase(Locale.ROOT)
|
||||||
.replace(" ", "");
|
.replaceAll("\\s", "");
|
||||||
switch (key) {
|
switch (key) {
|
||||||
case "color":
|
case "color":
|
||||||
String c = value
|
String c = value
|
||||||
|
|
Loading…
Reference in New Issue