mirror of https://github.com/M66B/FairEmail.git
Small improvement
This commit is contained in:
parent
6e29e09de5
commit
8db7b8fdda
|
@ -356,18 +356,16 @@ public class HtmlHelper {
|
|||
String src = img.attr("src");
|
||||
String tracking = img.attr("tracking");
|
||||
|
||||
if (!show_images) {
|
||||
if (!TextUtils.isEmpty(alt)) {
|
||||
img.append(" ");
|
||||
if (!show_images && !TextUtils.isEmpty(alt))
|
||||
if (TextUtils.isEmpty(tracking))
|
||||
img.appendText(alt);
|
||||
img.appendText(" " + alt + " ");
|
||||
else {
|
||||
img.append(" ");
|
||||
Element a = document.createElement("a");
|
||||
a.attr("href", tracking);
|
||||
a.text(alt);
|
||||
img.appendChild(a);
|
||||
}
|
||||
}
|
||||
img.appendText(" ");
|
||||
}
|
||||
|
||||
// Annotate source with width and height
|
||||
|
|
Loading…
Reference in New Issue