diff --git a/config/alfresco/templates/webscripts/org/alfresco/slingshot/profile/usercontents.get.json.ftl b/config/alfresco/templates/webscripts/org/alfresco/slingshot/profile/usercontents.get.json.ftl index bfaf1392c5..ed770ffdbe 100644 --- a/config/alfresco/templates/webscripts/org/alfresco/slingshot/profile/usercontents.get.json.ftl +++ b/config/alfresco/templates/webscripts/org/alfresco/slingshot/profile/usercontents.get.json.ftl @@ -1,5 +1,6 @@ <#macro dateFormat date>${date?string("dd MMM yyyy HH:mm:ss 'GMT'Z '('zzz')'")} <#macro formatDataItems data> + <#escape x as jsonUtils.encodeJSONString(x)> { "items": [ @@ -31,10 +32,9 @@ ] } + -<#escape x as jsonUtils.encodeJSONString(x)> { "created": <@formatDataItems data['created'] />, "modified": <@formatDataItems data['modified'] /> -} - \ No newline at end of file +} \ No newline at end of file