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>",
|
"type": "<#if d.isContainer>folder<#else>document</#if>",
|
||||||
"mimetype": "${d.mimetype!""}",
|
"mimetype": "${d.mimetype!""}",
|
||||||
"icon32": "${d.icon32}",
|
"icon32": "${d.icon32}",
|
||||||
"name": "${d.name}",
|
"name": "${d.name?html}",
|
||||||
"status": "<#list status as s>${s}<#if s_has_next>,</#if></#list>",
|
"status": "<#list status as s>${s}<#if s_has_next>,</#if></#list>",
|
||||||
"lockedBy": "${lockedBy}",
|
"lockedBy": "${lockedBy}",
|
||||||
"title": "${d.properties.title!""}",
|
"title": "${(d.properties.title!"")?html}",
|
||||||
"description": "${d.properties.description!"<None>"}",
|
"description": "${(d.properties.description!"")?html}",
|
||||||
"createdOn": "${d.properties.created?datetime}",
|
"createdOn": "${d.properties.created?string("MMM dd yyyy HH:mm:ss 'GMT'Z '('zzz')'")}",
|
||||||
"createdBy": "${d.properties.creator}",
|
"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}",
|
"modifiedBy": "${d.properties.modifier}",
|
||||||
"size": "${d.size}",
|
"size": "${d.size}",
|
||||||
"version": "${version}",
|
"version": "${version}",
|
||||||
|
@@ -13,8 +13,8 @@
|
|||||||
</#list>
|
</#list>
|
||||||
{
|
{
|
||||||
"nodeRef": "${t.nodeRef}",
|
"nodeRef": "${t.nodeRef}",
|
||||||
"name": "${t.name}",
|
"name": "${t.name?html}",
|
||||||
"description": "${t.properties.description!""}",
|
"description": "${(t.properties.description!"")?html}",
|
||||||
"hasChildren": ${hasChildren?string}
|
"hasChildren": ${hasChildren?string}
|
||||||
}
|
}
|
||||||
<#if t_has_next>,</#if>
|
<#if t_has_next>,</#if>
|
||||||
|
Reference in New Issue
Block a user