mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Allow displaying hidden namespaced elements
This commit is contained in:
@@ -387,7 +387,8 @@ public class HtmlHelper {
|
||||
for (Element e : parsed.select("*")) {
|
||||
String tag = e.tagName();
|
||||
if (tag.contains(":")) {
|
||||
if (ns == null || tag.startsWith(ns)) {
|
||||
if (display_hidden ||
|
||||
ns == null || tag.startsWith(ns)) {
|
||||
e.tagName(tag.split(":")[1]);
|
||||
Log.i("Updated tag=" + tag + " to=" + e.tagName());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user