From: Mischa POSLAWSKY Date: Sun, 6 Dec 2020 08:18:16 +0000 (+0100) Subject: nieuws: fix relative image paths in toc X-Git-Tag: v5.0~21 X-Git-Url: http://git.shiar.nl/minimedit.git/commitdiff_plain/4fa1d9c17950b2f436a42c3dd1ad158506c6501e nieuws: fix relative image paths in toc Current path does not apply with trailing /. --- 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";