diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-10-08 11:02:51 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-10-08 11:02:51 +0300 |
commit | cf92b6daa3881fb63c13c3673ea5edcee2399b14 (patch) | |
tree | 7b912d79112a77566d020e61e083788c07e1716e /changelog | |
parent | a7d05425e25f7d96ec23912c8c6611b5421bfb6c (diff) |
Fix whitespace issues in changelog
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'changelog')
-rw-r--r-- | changelog/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/changelog/index.php b/changelog/index.php index e11f062..4a5e966 100644 --- a/changelog/index.php +++ b/changelog/index.php @@ -215,7 +215,7 @@ QUERY; } foreach ($response['data']['repository'] as $pr) { $title = $pr['title']; - $title = preg_replace('!(\[|\()(stable)? ?(10|11|12|13|14|15|16|17)(\]|\))?!i', '', $title); + $title = preg_replace('!(\[|\()(stable)? ?(10|11|12|13|14|15|16|17)(\]|\))?\W*!i', '', $title); $title = trim($title); $title = strtoupper(substr($title, 0, 1)) . substr($title, 1); $id = '#' . $pr['number']; |