From 0fb8fec6bbbfb6d39b8fcdb385a77725b5525ed9 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 24 Nov 2020 15:53:42 +0100 Subject: [PATCH] Handle pre in signatures --- app/src/main/java/eu/faircode/email/HtmlHelper.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index d886ca7106..a6a3cd1a44 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -2343,6 +2343,10 @@ public class HtmlHelper { setSpan(ssb, new NumberSpan(dp6, colorAccent, textSize, index), start, ssb.length()); } break; + case "pre": + // Signature + setSpan(ssb, new TypefaceSpan("monospace"), start, ssb.length()); + break; case "ol": case "ul": int llevel = 0;