From 696b3dd142b9f04096c5a2ea5198bbb6decf3ae8 Mon Sep 17 00:00:00 2001 From: withanage Date: Thu, 16 Feb 2023 23:21:52 +0100 Subject: [PATCH] https://github.com/pkp/orcidProfile/issues/233 OrcidProfilePlugin --- OrcidProfilePlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OrcidProfilePlugin.php b/OrcidProfilePlugin.php index cc376e43..73c59e68 100755 --- a/OrcidProfilePlugin.php +++ b/OrcidProfilePlugin.php @@ -1334,10 +1334,10 @@ public function buildOrcidWork($publication, $context, $authors, $request, $issu $orcidWork = [ 'title' => [ 'title' => [ - 'value' => $publication->getLocalizedTitle($publicationLocale) ?? '' + 'value' => trim(strip_tags($publication->getLocalizedTitle($publicationLocale))) ?? '' ], 'subtitle' => [ - 'value' => $publication->getLocalizedData('subtitle', $publicationLocale) ?? '' + 'value' => trim(strip_tags($publication->getLocalizedData('subtitle', $publicationLocale))) ?? '' ] ], 'journal-title' => [