diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index c4ee41dbd5..362c7f32ad 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -2086,7 +2086,7 @@ public class FragmentCompose extends FragmentBase { Spanned spannedReference = null; File refFile = EntityMessage.getRefFile(context, id); if (refFile.exists()) { - String quote = Helper.readText(refFile); + String quote = HtmlHelper.sanitize(Helper.readText(refFile), true); Spanned spannedQuote = Html.fromHtml(quote, new Html.ImageGetter() { @Override