public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: use bold for CVE number
@ 2026-11-27  7:31 Remi Collet
  0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-11-27  7:31 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : 8562e88b27ba61f7240a837dac873193fa76a755
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2021-06-29T19:41:33+02:00
Stats  : +2/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/8562e88b27ba61f7240a837dac873193fa76a755?branch=private-php86

Log:
use bold for CVE number

---
diff --git a/news2markdown.php b/news2markdown.php
index 77303cd..a3c7e25 100755
--- a/news2markdown.php
+++ b/news2markdown.php
@@ -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) == '- ') {

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-27  7:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27  7:31 [rpms/php] private-php86: use bold for CVE number Remi Collet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox