mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fix for single- and double-quotes in titles and descriptions. More specific date format output by data webscripts to ensure correct parsing by Date() on the client.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -19,14 +19,14 @@
|
||||
"type": "<#if d.isContainer>folder<#else>document</#if>",
|
||||
"mimetype": "${d.mimetype!""}",
|
||||
"icon32": "${d.icon32}",
|
||||
"name": "${d.name}",
|
||||
"name": "${d.name?html}",
|
||||
"status": "<#list status as s>${s}<#if s_has_next>,</#if></#list>",
|
||||
"lockedBy": "${lockedBy}",
|
||||
"title": "${d.properties.title!""}",
|
||||
"description": "${d.properties.description!"<None>"}",
|
||||
"createdOn": "${d.properties.created?datetime}",
|
||||
"title": "${(d.properties.title!"")?html}",
|
||||
"description": "${(d.properties.description!"")?html}",
|
||||
"createdOn": "${d.properties.created?string("MMM dd yyyy HH:mm:ss 'GMT'Z '('zzz')'")}",
|
||||
"createdBy": "${d.properties.creator}",
|
||||
"modifiedOn": "${d.properties.modified?datetime}",
|
||||
"modifiedOn": "${d.properties.modified?string("MMM dd yyyy HH:mm:ss 'GMT'Z '('zzz')'")}",
|
||||
"modifiedBy": "${d.properties.modifier}",
|
||||
"size": "${d.size}",
|
||||
"version": "${version}",
|
||||
|
@@ -13,8 +13,8 @@
|
||||
</#list>
|
||||
{
|
||||
"nodeRef": "${t.nodeRef}",
|
||||
"name": "${t.name}",
|
||||
"description": "${t.properties.description!""}",
|
||||
"name": "${t.name?html}",
|
||||
"description": "${(t.properties.description!"")?html}",
|
||||
"hasChildren": ${hasChildren?string}
|
||||
}
|
||||
<#if t_has_next>,</#if>
|
||||
|
Reference in New Issue
Block a user