use bold for CVE number

This commit is contained in:
Remi Collet 2021-06-29 19:41:33 +02:00
parent 193b44f2e7
commit 8562e88b27

View File

@ -24,7 +24,8 @@ foreach ($text as $line) {
if ($debug) echo "+ Ignore $line\n";
continue;
}
$line = preg_replace('/(#[0-9])+/', 'php\1', $line);
$line = preg_replace('/(#[0-9]+)/', 'php\1', $line);
$line = preg_replace('/(CVE-[0-9]+-[0-9]+)/', '**\1**', $line);
if (empty($line)) {
echo "\n\n";
} else if (substr($line, 0, 2) == '- ') {