mirror of https://github.com/M66B/FairEmail.git
Prevent Jsoup validation exception
This commit is contained in:
parent
84cdc6ca64
commit
fe408fcc77
|
@ -1658,8 +1658,11 @@ public class HtmlHelper {
|
||||||
tag.startsWith("html:") || tag.startsWith("body:"));
|
tag.startsWith("html:") || tag.startsWith("body:"));
|
||||||
if (display_hidden || show) {
|
if (display_hidden || show) {
|
||||||
String[] nstag = tag.split(":");
|
String[] nstag = tag.split(":");
|
||||||
e.tagName(nstag[nstag.length > 1 ? 1 : 0]);
|
String t = nstag[nstag.length > 1 ? 1 : 0];
|
||||||
Log.i("Updated tag=" + tag + " to=" + e.tagName());
|
if (!TextUtils.isEmpty(t)) {
|
||||||
|
e.tagName(t);
|
||||||
|
Log.i("Updated tag=" + tag + " to=" + t);
|
||||||
|
}
|
||||||
|
|
||||||
if (!show) {
|
if (!show) {
|
||||||
String style = e.attr("style");
|
String style = e.attr("style");
|
||||||
|
|
Loading…
Reference in New Issue