mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 09:03:56 +02:00
Normalize referenced message
This commit is contained in:
@@ -3797,6 +3797,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
if (TextUtils.isEmpty(s)) {
|
||||
// Get referenced message body
|
||||
d = JsoupEx.parse(ref.getFile(context));
|
||||
HtmlHelper.normalizeNamespaces(d, false);
|
||||
for (Element e : d.select("[x-plain=true]"))
|
||||
e.removeAttr("x-plain");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user