Fixed escape software name in service list.
This commit is contained in:
parent
10b5eb4456
commit
186244c18f
1 changed files with 3 additions and 3 deletions
|
@ -140,9 +140,9 @@ public class ServiceListView
|
|||
}
|
||||
|
||||
//
|
||||
data.setContent("softwareName", StringUtils.defaultIfBlank(service.getSoftwareName(), "n/a"));
|
||||
data.setContent("softwareVersion", StringUtils.defaultIfBlank(service.getSoftwareVersion(), "n/a"));
|
||||
data.setContent("softwareLicenseName", StringUtils.defaultIfBlank(service.getSoftwareLicenseName(), "n/a"));
|
||||
data.setEscapedContent("softwareName", StringUtils.defaultIfBlank(service.getSoftwareName(), "n/a"));
|
||||
data.setEscapedContent("softwareVersion", StringUtils.defaultIfBlank(service.getSoftwareVersion(), "n/a"));
|
||||
data.setEscapedContent("softwareLicenseName", StringUtils.defaultIfBlank(service.getSoftwareLicenseName(), "n/a"));
|
||||
if (StringUtils.isNotBlank(service.getSoftwareWebsite()))
|
||||
{
|
||||
data.setEscapedAttribute("serviceListLine", index, "softwareWebsiteLink", "href", service.getSoftwareWebsite());
|
||||
|
|
Loading…
Reference in a new issue