]> _ Git - cubeextranet.git/commitdiff
wip #1998 @1
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 31 May 2018 12:04:13 +0000 (12:04 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 31 May 2018 12:04:13 +0000 (12:04 +0000)
inc/ws/Util/html5/master/class.ws.html5.links.php

index 1f35133c6ce37d72d449c6b301bb26fcdbc8b6c2..372faf62fdbbf29a58b7057ae8ea4f05e45da3bd 100644 (file)
@@ -317,7 +317,7 @@ class wsHTML5Link
        {
                $datas = parse_url($loc);
 
-               if (isset($datas['scheme']) && !is_null($datas['scheme'])) {
+               if (isset($datas['scheme']) && !is_null($datas['scheme']) || strpos($loc,'#')==0) {
                        return $loc;
                } else {
                        if ($css) {