diff --git a/sharedComponents/schema2jsonld/service/open-aire-jsonld-converter.service.ts b/sharedComponents/schema2jsonld/service/open-aire-jsonld-converter.service.ts index e424a68e..a8c40c79 100644 --- a/sharedComponents/schema2jsonld/service/open-aire-jsonld-converter.service.ts +++ b/sharedComponents/schema2jsonld/service/open-aire-jsonld-converter.service.ts @@ -152,7 +152,7 @@ convertDatasource(datasource: any, URL, otherUrl): Organization { private getDescription(result: any): String[] { const item = _.get(result, "result.metadata.oaf:entity.oaf:result.description", null); if (!item) return null; - return [item as String]; + return [(item.substring(0,4997)+(item.substring(0,4997).length == 4997?'...':'')) as String]; } private getDateCreated(result: any): String[] {