From 37c3707f07b111249b7702571f8366156f457f16 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 31 May 2018 12:04:13 +0000 Subject: [PATCH] wip #1998 @1 --- inc/ws/Util/html5/master/class.ws.html5.links.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 1f35133c6..372faf62f 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -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) { -- 2.39.5