1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Face names lower case

This commit is contained in:
M66B 2020-06-28 21:58:35 +02:00
parent a838c48a57
commit 14c533d95f

View file

@ -1992,7 +1992,8 @@ public class HtmlHelper {
}
break;
case "font-family":
ssb.setSpan(new TypefaceSpan(value), start, ssb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
String face = value.toLowerCase(Locale.ROOT);
ssb.setSpan(new TypefaceSpan(face), start, ssb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
break;
case "text-decoration":
if ("line-through".equals(value))