public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: use bold for CVE number
Date: Fri, 27 Nov 2026 07:31:27 GMT	[thread overview]
Message-ID: <179576468730.1.11151688277605692153.rpms-php-8562e88b27ba@fedoraproject.org> (raw)

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) == '- ') {

                 reply	other threads:[~2026-11-27  7:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179576468730.1.11151688277605692153.rpms-php-8562e88b27ba@fedoraproject.org \
    --to=remi@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox