mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Prevent deleting body
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user