mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 18:59:01 +00:00
Prevent deleting body
This commit is contained in:
parent
4c6dddf11c
commit
687795e3d4
1 changed files with 1 additions and 0 deletions
|
@ -426,6 +426,7 @@ public class HtmlHelper {
|
||||||
String tag = e.tagName();
|
String tag = e.tagName();
|
||||||
if (tag.contains(":")) {
|
if (tag.contains(":")) {
|
||||||
if (display_hidden ||
|
if (display_hidden ||
|
||||||
|
"body".equals(tag) ||
|
||||||
ns == null || tag.startsWith(ns)) {
|
ns == null || tag.startsWith(ns)) {
|
||||||
String[] nstag = tag.split(":");
|
String[] nstag = tag.split(":");
|
||||||
e.tagName(nstag[nstag.length > 1 ? 1 : 0]);
|
e.tagName(nstag[nstag.length > 1 ? 1 : 0]);
|
||||||
|
|
Loading…
Reference in a new issue