Simplification

pull/155/head
M66B 6 years ago
parent 7e72cea9ac
commit c4c579482c

@ -1451,7 +1451,6 @@ FairEmail will try to select the best identity based on the *to* address of the
The advanced option *extra privacy features* enables: The advanced option *extra privacy features* enables:
* Detection and removal of [tracking images](#user-content-faq82) * Detection and removal of [tracking images](#user-content-faq82)
* Splitting linked images into an image and a link
* Removal of [Urchin Tracking Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters) from links * Removal of [Urchin Tracking Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters) from links
<br /> <br />

@ -194,18 +194,6 @@ public class HtmlHelper {
a.appendText(context.getString(R.string.title_hint_tracking_image, a.appendText(context.getString(R.string.title_hint_tracking_image,
img.attr("width"), img.attr("height"))); img.attr("width"), img.attr("height")));
span.appendChild(a); 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 // Replace img by span containing img

Loading…
Cancel
Save