From 2501c489000310c87ac0f4ebe6d1d0c5c3e2c8de Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 1 Jul 2020 08:44:15 +0000 Subject: [PATCH] fix #3748 @0.5 --- inc/ws/Util/html5/master/class.ws.html5.links.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inc/ws/Util/html5/master/class.ws.html5.links.php b/inc/ws/Util/html5/master/class.ws.html5.links.php index 5354e0dcc..7b0b83dc6 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -237,6 +237,7 @@ class wsHTML5Link $extras['direction'] = 'down'; } } + return $extras; } @@ -292,7 +293,7 @@ class wsHTML5Link $v = []; parse_str($vv, $v); $v = CubeIT_Util_Object::asObject($v); - } else { + } else if (stristr($v, '=')) { $extras = self::parseExtras($v); foreach ($extras as $extrak => $extrav) { $this->$extrak = $extrav; @@ -748,7 +749,6 @@ class contentLink extends wsHTML5Link } $res .= ' data-animation-type="' . $variables['type'] . '" data-animation="' . htmlspecialchars(json_encode($variables), ENT_QUOTES) . '" '; - return $res; } @@ -1241,6 +1241,7 @@ class textLink extends contentLink public function getAdditionnalContent() { $res = parent::getAdditionnalContent(); + return $res; } -- 2.39.5