[web-php] master: Fix: Avoid generating code without space between comma and function argument
| From: | Andreas Möller via GitHub | Date: | Tue, 12 Jul 2022 12:53:25 +0000 |
| Subject: | [web-php] master: Fix: Avoid generating code without space between comma and function argument | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-30383@lists.php.net to get a copy of this message | ||
Author: Andreas Möller (localheinz)
Committer: GitHub (web-flow)
Pusher: cmb69
Date: 2022-07-12T14:46:56+02:00
Commit: https://github.com/php/web-php/commit/1d73c26c0b7588ca0ec7dacb362d14857c402705
Raw diff: https://github.com/php/web-php/commit/1d73c26c0b7588ca0ec7dacb362d14857c402705.diff
Fix: Avoid generating code without space between comma and function argument
Closes GH-650.
Changed paths:
M bin/news2html
Diff:
diff --git a/bin/news2html b/bin/news2html
index 0b72e8824a..97d20a75fa 100755
--- a/bin/news2html
+++ b/bin/news2html
@@ -64,8 +64,8 @@ $bug_map = [
'/Fixed bug #([0-9]+)/' => '<?php bugfix(\1);
?'.'>',
'/Fixed PECL bug #([0-9]+)/' => '<?php peclbugfix(\1);
?'.'>',
'/Implemented FR #([0-9]+)/' => '<?php implemented(\1);
?'.'>',
- '/GitHub PR #([0-9]+)/' => '<?php
githubissuel(\'php/php-src\',\1); ?'.'>',
- '/GH-([0-9]+)/' => '<?php
githubissuel(\'php/php-src\',\1); ?'.'>',
+ '/GitHub PR #([0-9]+)/' => '<?php
githubissuel(\'php/php-src\', \1); ?'.'>',
+ '/GH-([0-9]+)/' => '<?php
githubissuel(\'php/php-src\', \1); ?'.'>',
];
foreach($entries as $module => $items) {