From 05b85e4cfc542c0455df4f03b4d6ac83f8180355 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 24 Aug 2019 18:21:14 +0200 Subject: [PATCH] Fixed direct reply / Usenet signature --- app/src/main/java/eu/faircode/email/ServiceUI.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/ServiceUI.java b/app/src/main/java/eu/faircode/email/ServiceUI.java index 9b0fe3fbd4..2eebc463d8 100644 --- a/app/src/main/java/eu/faircode/email/ServiceUI.java +++ b/app/src/main/java/eu/faircode/email/ServiceUI.java @@ -195,6 +195,8 @@ public class ServiceUI extends IntentService { Bundle results = RemoteInput.getResultsFromIntent(intent); String text = results.getString("text"); + if (text != null) + text = "

" + text.replaceAll("\\r?\\n", "
") + "

"; DB db = DB.getInstance(this); try {