mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 01:53:25 +02:00
Strip namespace from tags
This commit is contained in:
@@ -2102,7 +2102,11 @@ public class HtmlHelper {
|
||||
}
|
||||
|
||||
// Apply element
|
||||
switch (element.tagName()) {
|
||||
String tag = element.tagName();
|
||||
int semi = tag.indexOf(':');
|
||||
if (semi >= 0)
|
||||
tag = tag.substring(semi + 1);
|
||||
switch (tag) {
|
||||
case "a":
|
||||
String href = element.attr("href");
|
||||
if (!TextUtils.isEmpty(href))
|
||||
|
||||
Reference in New Issue
Block a user