Skip to content

Commit 1466a17

Browse files
committed
NewsFormatter: Allow dot characters in the NEWS author name
1 parent 36c5548 commit 1466a17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NewsFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function getNewsListForReleaseMarkup(string $version): string {
6262
}
6363

6464
private function removeAuthorInBraces(string $change): string {
65-
$change = preg_replace('/(^(.*))( \([\w\p{L} ,-]+\).?$)/u', '$1', $change, 1, $count);
65+
$change = preg_replace('/(^(.*))( \([\w\p{L} ,.-]+\).?$)/u', '$1', $change, 1, $count);
6666

6767
return $change;
6868
}

0 commit comments

Comments
 (0)