news2markdown.php minor tweak

This commit is contained in:
Remi Collet 2017-01-19 10:16:52 +01:00
parent 711e62a241
commit 34d9f4401f

View File

@ -17,7 +17,7 @@ foreach ($text as $line) {
if ($in) { if ($in) {
break; break;
} }
printf("%s **PHP version %s**", $reg[1], $reg[2]); printf("**PHP version %s** (%s)", $reg[2], $reg[1]);
$in = true; $in = true;
continue; continue;
} else if (!$in) { } else if (!$in) {