Simplify tracking images

This commit is contained in:
M66B 2020-05-01 13:52:13 +02:00
parent 7546b50046
commit 2544e5d05c
1 changed files with 1 additions and 3 deletions

View File

@ -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