use bold for CVE number
This commit is contained in:
parent
193b44f2e7
commit
8562e88b27
@ -24,7 +24,8 @@ foreach ($text as $line) {
|
|||||||
if ($debug) echo "+ Ignore $line\n";
|
if ($debug) echo "+ Ignore $line\n";
|
||||||
continue;
|
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)) {
|
if (empty($line)) {
|
||||||
echo "\n\n";
|
echo "\n\n";
|
||||||
} else if (substr($line, 0, 2) == '- ') {
|
} else if (substr($line, 0, 2) == '- ') {
|
||||||
|
Loading…
Reference in New Issue
Block a user