From d8b46e1377c528a87963b96381bd40b72db227ee Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 15 Apr 2021 10:43:01 +1200 Subject: [PATCH] Trim strings from info.xml in extensions --- CRM/Extension/Info.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Extension/Info.php b/CRM/Extension/Info.php index 67a58af265..55e379caf7 100644 --- a/CRM/Extension/Info.php +++ b/CRM/Extension/Info.php @@ -156,7 +156,7 @@ class CRM_Extension_Info { // we want them in special format. foreach ($info as $attr => $val) { if (count($val->children()) == 0) { - $this->$attr = (string) $val; + $this->$attr = trim((string) $val); } elseif ($attr === 'urls') { $this->urls = []; -- 2.25.1