1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 02:37:16 +00:00

Prevent deleting body

This commit is contained in:
M66B 2020-11-25 16:52:50 +01:00
parent 4c6dddf11c
commit 687795e3d4

View file

@ -426,6 +426,7 @@ public class HtmlHelper {
String tag = e.tagName();
if (tag.contains(":")) {
if (display_hidden ||
"body".equals(tag) ||
ns == null || tag.startsWith(ns)) {
String[] nstag = tag.split(":");
e.tagName(nstag[nstag.length > 1 ? 1 : 0]);