From 89102c9265276ece2c339fa2fb3961613a571ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= Date: Tue, 2 May 2017 13:28:14 +0200 Subject: [PATCH] =?UTF-8?q?Use=20'#'=20as=20url=20to=20ensure=20keyboard-n?= =?UTF-8?q?avigation=20=E2=8C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SPR-977 --- tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpl.php b/tpl.php index b5a432f..23f284b 100644 --- a/tpl.php +++ b/tpl.php @@ -83,7 +83,7 @@ class tpl { $args['rel'] = 'nofollow'; } - $args['href'] = $link; + $args['href'] = $link ?: '#'; $svg = inlineSVG($svg); if(!$svg) $svg = inlineSVG(__DIR__ . '/images/tools/' . self::$icons['default']);