mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Fixed displaying inline images
This commit is contained in:
parent
b0bac1ed77
commit
10edc5a6cd
1 changed files with 3 additions and 2 deletions
|
@ -207,14 +207,15 @@ public class HtmlHelper {
|
|||
}
|
||||
|
||||
if (linked)
|
||||
div.appendChild(img);
|
||||
div.appendChild(img.clone());
|
||||
else {
|
||||
Element a = document.createElement("a");
|
||||
a.attr("href", uri.toString());
|
||||
a.appendChild(img.clone());
|
||||
div.appendChild(a);
|
||||
}
|
||||
}
|
||||
} else
|
||||
div.appendChild(img.clone());
|
||||
|
||||
if (!TextUtils.isEmpty(alt)) {
|
||||
div.appendElement("br");
|
||||
|
|
Loading…
Reference in a new issue