protected String getDesc() throws IOException {
if (isSearchOrSet(getSource())) {
StringBuilder builder = new StringBuilder();
+ builder.append("<div>");
builder.append("A collection of images from ")
- .append(getSource().getHost()).append("\n") //
- .append("\tTime of creation: "
+ .append(getSource().getHost()) //
+ .append("<br/>\n") //
+ .append(" Time of creation: "
+ StringUtils.fromTime(new Date().getTime()))
- .append("\n") //
- .append("\tTags: ");//
+ .append("<br/>\n") //
+ .append(" tTags: ");//
for (String tag : getTags()) {
- builder.append("\t\t").append(tag);
+ builder.append(
+ "\n<br/> ")
+ .append(tag);
}
+ builder.append("\n</div>");
return builder.toString();
}
if (isPool(getSource())) {
Element el = getSourceNode().getElementById("description");
if (el != null) {
- return el.text();
+ return el.html();
}
}