diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index 686a761000..42998df5bd 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -778,8 +778,8 @@ public class HtmlHelper { return Float.parseFloat(value.substring(0, value.length() - 2).trim()); if (value.endsWith("px")) return Integer.parseInt(value.substring(0, value.length() - 2).trim()) / 16f; + return Integer.parseInt(value.trim()) / 16f; } catch (NumberFormatException ignored) { - } return null;