From 6be99bebf93fac65af8256688710410fcd49f9cf Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 13 Sep 2023 19:18:13 +0200 Subject: [PATCH] wip #6274 @0.25 --- src/Links/CustomLink.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Links/CustomLink.php b/src/Links/CustomLink.php index 7244519..87f6de7 100644 --- a/src/Links/CustomLink.php +++ b/src/Links/CustomLink.php @@ -55,4 +55,9 @@ class CustomLink extends NormalLink } return $default; } + + public function ignore() + { + return parent::ignore() || $this->getURL() === '-'; + } } -- 2.39.5