EntityContent currentContent;
if(entityList != null && entityList.size()==1){
currentContent = (EntityContent)entityList.elementAt(0);
- try {
+ try {
SimpleHash specialHash = HTMLTemplateProcessor.makeSimpleHash(currentContent);
currentMediaList = DatabaseContentToMedia.getInstance().getUploadedMedia(currentContent);
specialHash.put("to_media_video", mediaListVideo);
specialHash.put("to_media_other", mediaListOther);
} //end if currentMediaList != null
+ //convert to html
+ if ( ((SimpleScalar)specialHash.get("is_html")).getAsString().equals("0") ) {
+ SimpleScalar temp = (SimpleScalar)specialHash.get("description");
+ specialHash.put("description",StringUtil.createHTML(temp.getAsString()));
+ }
setAdditional("special",specialHash);
} catch (Exception e) {
theLog.printError("ProducerTopics: problem with start special: "+currentContent.getId()+" "+e.toString());