From 9035d73c02e6d367234c4c87559849422aeab833 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 19 Jul 2021 09:44:34 +0200 Subject: [PATCH] Fixed pasting formatted signature in HTML mode --- app/src/main/java/eu/faircode/email/EditTextCompose.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/EditTextCompose.java b/app/src/main/java/eu/faircode/email/EditTextCompose.java index d813d11ff5..aeac91baf0 100644 --- a/app/src/main/java/eu/faircode/email/EditTextCompose.java +++ b/app/src/main/java/eu/faircode/email/EditTextCompose.java @@ -138,7 +138,7 @@ public class EditTextCompose extends FixedEditText { ClipData.Item item = cbm.getPrimaryClip().getItemAt(0); final String html; - String h = item.getHtmlText(); + String h = (raw ? null : item.getHtmlText()); if (h == null) { CharSequence text = item.getText(); if (text == null)