mirror of https://github.com/M66B/FairEmail.git
Prevent duplicate image titles
This commit is contained in:
parent
7a499b2e27
commit
a7bc71ed6b
|
@ -216,7 +216,7 @@ public class HtmlHelper {
|
|||
div.appendElement("br");
|
||||
div.appendElement("em").text(alt);
|
||||
}
|
||||
if (!TextUtils.isEmpty(title)) {
|
||||
if (!TextUtils.isEmpty(title) && !title.equals(alt)) {
|
||||
div.appendElement("br");
|
||||
div.appendElement("em").text(title);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue