|
|
@ -799,12 +799,10 @@ public class HtmlHelper {
|
|
|
|
if (TextUtils.isEmpty(tracking))
|
|
|
|
if (TextUtils.isEmpty(tracking))
|
|
|
|
img.appendText("[" + alt + "]");
|
|
|
|
img.appendText("[" + alt + "]");
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
img.append(" ");
|
|
|
|
|
|
|
|
Element a = document.createElement("a");
|
|
|
|
Element a = document.createElement("a");
|
|
|
|
a.attr("href", tracking);
|
|
|
|
a.attr("href", tracking);
|
|
|
|
a.text(alt);
|
|
|
|
a.text("[" + alt + "]");
|
|
|
|
img.appendChild(a);
|
|
|
|
img.appendChild(a);
|
|
|
|
img.appendText(" ");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Annotate source with width and height
|
|
|
|
// Annotate source with width and height
|
|
|
|