Prevent duplicate image titles

This commit is contained in:
M66B 2019-03-12 09:14:16 +00:00
parent 7a499b2e27
commit a7bc71ed6b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}