]> _ Git - cubeextranet.git/commitdiff
fix #3748 @0.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 1 Jul 2020 08:44:15 +0000 (08:44 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 1 Jul 2020 08:44:15 +0000 (08:44 +0000)
inc/ws/Util/html5/master/class.ws.html5.links.php

index 5354e0dcc8a2c66b509a4cabcdbdce7c383fe9a4..7b0b83dc6335e27f3b644d02836948d87d97ef96 100644 (file)
@@ -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;
     }