Simplification

This commit is contained in:
M66B
2019-04-24 19:13:59 +02:00
parent 7e72cea9ac
commit c4c579482c
2 changed files with 0 additions and 13 deletions

View File

@@ -194,18 +194,6 @@ public class HtmlHelper {
a.appendText(context.getString(R.string.title_hint_tracking_image,
img.attr("width"), img.attr("height")));
span.appendChild(a);
} else if (paranoid) {
// Image link
for (Element parent : img.parents())
if ("a".equals(parent.tagName()) &&
!TextUtils.isEmpty(parent.attr("href"))) {
span.appendElement("br");
Element a = document.createElement("a");
a.attr("href", src);
a.appendText(context.getString(R.string.title_hint_image_link));
span.appendChild(a);
break;
}
}
// Replace img by span containing img