else
renderImage(writer, context, img);
writer.append("</a>");
appendWhitespace(writer);
}
<BUG>public void renderImage(Appendable writer, Map<String, Object> context, ModelScreenWidget.Image image) throws IOException {
writer.append("<img ");</BUG>
String id = image.getId(context);
if (UtilValidate.isNotEmpty(id)) {
writer.append(" id=\"");

else
renderImage(writer, context, img);
writer.append("</a>");
appendWhitespace(writer);
}
public void renderImage(Appendable writer, Map<String, Object> context, ModelScreenWidget.Image image) throws IOException {
String src = image.getSrc(context);
if (UtilValidate.isEmpty(src)) {
return;
}
writer.append("<img ");
String id = image.getId(context);
if (UtilValidate.isNotEmpty(id)) {
writer.append(" id=\"");
