|
|
@ -1037,7 +1037,11 @@ public class HtmlHelper {
|
|
|
|
if (text_titles)
|
|
|
|
if (text_titles)
|
|
|
|
for (Element e : document.select("[title]")) {
|
|
|
|
for (Element e : document.select("[title]")) {
|
|
|
|
String title = e.attr("title");
|
|
|
|
String title = e.attr("title");
|
|
|
|
if (!TextUtils.isEmpty(title))
|
|
|
|
if (TextUtils.isEmpty(title))
|
|
|
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
if ("img".equals(e.tagName()) &&
|
|
|
|
|
|
|
|
title.equals(e.attr("alt")))
|
|
|
|
|
|
|
|
continue;
|
|
|
|
e.prependChild(document.createElement("span").text("{" + title + "}"));
|
|
|
|
e.prependChild(document.createElement("span").text("{" + title + "}"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|