Normalize referenced message

This commit is contained in:
M66B
2020-12-29 09:04:29 +01:00
parent f0317197cb
commit aa279e5b57
2 changed files with 43 additions and 37 deletions

View File

@@ -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");