X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/39b57edfe705be3f21a2bc5670d4c0e3e68c2d17..2e685fd177e593fd2e648fe85863854e6834aabb:/nieuws.inc.php diff --git a/nieuws.inc.php b/nieuws.inc.php index e298569..e5e1ffa 100644 --- a/nieuws.inc.php +++ b/nieuws.inc.php @@ -114,7 +114,9 @@ function shownews($input, $limit = 1000) $article = new ArchiveArticle($filename); print '
  • '; if ($article->thumb) { - printf('', $article->thumb); + $img = preg_replace('{(?<= \b src="/) [^"]* }x', $article->thumb, $article->img); + $img = preg_replace('{(?= />$)}', ' class="left"', $img); + print $img; } print '
    '; printf(