Prevent duplicate image titles

pull/153/head
M66B 6 years ago
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…
Cancel
Save