mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Minor change to where JSON escaping happens in usercontent data webscript
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14492 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<#macro dateFormat date>${date?string("dd MMM yyyy HH:mm:ss 'GMT'Z '('zzz')'")}</#macro>
|
||||
<#macro formatDataItems data>
|
||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||
{
|
||||
"items":
|
||||
[
|
||||
@@ -31,10 +32,9 @@
|
||||
</#list>
|
||||
]
|
||||
}
|
||||
</#escape>
|
||||
</#macro>
|
||||
<#escape x as jsonUtils.encodeJSONString(x)>
|
||||
{
|
||||
"created": <@formatDataItems data['created'] />,
|
||||
"modified": <@formatDataItems data['modified'] />
|
||||
}
|
||||
</#escape>
|
Reference in New Issue
Block a user