Minor update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-column-widget@101182 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-10-29 17:57:03 +00:00
parent e6b5f124b5
commit aff05a0829
1 changed files with 2 additions and 1 deletions

View File

@ -46,6 +46,7 @@ import com.google.gwt.event.logical.shared.SelectionEvent;
import com.google.gwt.event.logical.shared.SelectionHandler;
import com.google.gwt.safecss.shared.SafeStylesBuilder;
import com.google.gwt.safehtml.shared.SafeHtmlBuilder;
import com.google.gwt.safehtml.shared.SafeHtmlUtils;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.HTML;
import com.google.web.bindery.event.shared.EventBus;
@ -303,7 +304,7 @@ public class ReplaceBatchPanel extends FramedPanel implements
+ DON_T_REPLACE + "</span>");
} else {
String style = "style='color: green;font-weight:normal'";
sb.appendHtmlConstant("<span " + style + ">" + value
sb.appendHtmlConstant("<span " + style + ">" + SafeHtmlUtils.htmlEscape(value)
+ "</span>");
}