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

Simplification

This commit is contained in:
M66B 2020-11-15 08:41:04 +01:00
parent ed792c240b
commit 3fb7f4556d

View file

@ -2427,7 +2427,7 @@ public class HtmlHelper {
else if (kar == '\u00A0')
ssb.replace(i, i + 1, "");
else if (!Character.isLetterOrDigit(kar))
ssb.replace(i, i + 1, "{" + Integer.toHexString((int) kar) + "}");
ssb.replace(i, i + 1, "{" + Integer.toHexString(kar) + "}");
}
Object[] spans = ssb.getSpans(0, ssb.length(), Object.class);