]> _ Git - fluidbook_tools.git/commitdiff
wip #6274 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 13 Sep 2023 17:18:13 +0000 (19:18 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 13 Sep 2023 17:18:13 +0000 (19:18 +0200)
src/Links/CustomLink.php

index 7244519af7138f07c5736f56bdd4229885ef32c2..87f6de7bf8734040d38e9b5f4a3497ce57743d86 100644 (file)
@@ -55,4 +55,9 @@ class CustomLink extends NormalLink
         }
         return $default;
     }
+
+    public function ignore()
+    {
+        return parent::ignore() || $this->getURL() === '-';
+    }
 }