From 4fa1d9c17950b2f436a42c3dd1ad158506c6501e Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sun, 6 Dec 2020 09:18:16 +0100 Subject: [PATCH] nieuws: fix relative image paths in toc Current path does not apply with trailing /. --- widget/nieuws.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/nieuws.php b/widget/nieuws.php index 73258b2..dd019a3 100644 --- a/widget/nieuws.php +++ b/widget/nieuws.php @@ -44,7 +44,7 @@ function printtoc($input, $class = FALSE) $html .= sprintf(' %s', showdate($dateparts)); if ($class == 'gallery' and $article->img) { $html = "
$html
"; - $html = sprintf('', $article->thumb(200)) . $html; + $html = sprintf('', $article->thumb(200)) . $html; } $html = sprintf('%s', $article->link, $html); print "
  • $html
  • \n"; -- 2.30.0