mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Simplify tracking images
This commit is contained in:
@@ -799,12 +799,10 @@ public class HtmlHelper {
|
||||
if (TextUtils.isEmpty(tracking))
|
||||
img.appendText("[" + alt + "]");
|
||||
else {
|
||||
img.append(" ");
|
||||
Element a = document.createElement("a");
|
||||
a.attr("href", tracking);
|
||||
a.text(alt);
|
||||
a.text("[" + alt + "]");
|
||||
img.appendChild(a);
|
||||
img.appendText(" ");
|
||||
}
|
||||
|
||||
// Annotate source with width and height
|
||||
|
||||
Reference in New Issue
Block a user