From 9982bdb671a2113850ff856b6d3f300172c54d2b Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Mon, 28 Nov 2022 19:22:01 +0200 Subject: [PATCH] [Library]: [Bug fix] Strip html tags for titles and descriptions and show them as innerHTML. 1. dataProvider.component.ts & organization.component.ts & project.component.ts & resultLanding.component.ts & orcid-work.component.ts: Commented unused @ViewChild fields. 2. dataProvider.service.ts & project.service.ts & resultLanding.service.ts: Strip html tags from title. 3. resultLanding.component.ts: [Bug fix] resultLanding.description is string, not array. 4. orcidWork.ts: [Bug fix] resultLanding.description is string, not array & strip html tags from description. 5. refineFieldResults.service.ts: In method "getSearchAPIURLForEntity()", for entityType "result" set suffix to "results/". 6. searchDataproviders.service.ts & searchOrganizations.service.ts & searchProjects.service.ts & searchResearchResults.service.ts: Strip html tags from title | Do not cut description (multi line ellipsis is used in html). 7. jsonld-document-serializer.service.ts: [Bug fix] resultLanding.description is string, not array. 8. result-preview.component.html: Show description as innerHTML to properly display special characters. --- src/app/openaireLibrary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index f935e81..e9e2ee9 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit f935e81959f8f71b0057ecd6c116db444cd97846 +Subproject commit e9e2ee9f3a626cb528b044b07729fe078bee5492