diff options
author | Michal Čihař <michal@cihar.com> | 2006-04-20 19:17:24 +0400 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2006-04-20 19:17:24 +0400 |
commit | ca1026a2934e9b900e63709c1e5ba3d09e23163d (patch) | |
tree | 880773ad5c60de01bfc5ddc1cc445ce2e374c4e8 /changelog.php | |
parent | 96947846a45743c7ac2780c245aa798d58f24517 (diff) |
fix email links
Diffstat (limited to 'changelog.php')
-rw-r--r-- | changelog.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/changelog.php b/changelog.php index 4946b510bb..7636d084b8 100644 --- a/changelog.php +++ b/changelog.php @@ -11,7 +11,7 @@ $changelog = htmlspecialchars(file_get_contents('ChangeLog')); $replaces = array( // sourceforge users - '/([0-9]{4}-[0-9]{2}-[0-9]{2}) (.+) <(.*)@users.sourceforge.net>/i' + '/([0-9]{4}-[0-9]{2}-[0-9]{2}) (.+[^ ]) +<(.*)@users.sourceforge.net>/i' => '\\1 <a href="https://sourceforge.net/users/\\3/">\\2</a>', '/thanks to ([^\(\r\n]+) \(([-\w]+)\)/i' => 'thanks to <a href="https://sourceforge.net/users/\\2/">\\1</a>', @@ -19,8 +19,8 @@ $replaces = array( => 'thanks to <a href="https://sourceforge.net/users/\\2/">\\1</a>', // mail adresse - '/([0-9]{4}-[0-9]{2}-[0-9]{2}) (.+) <(.*@.*)>/i' - => '\\1 <a href="mailto:\\3/">\\2</a>', + '/([0-9]{4}-[0-9]{2}-[0-9]{2}) (.+[^ ]) +<(.*@.*)>/i' + => '\\1 <a href="mailto:\\3">\\2</a>', // linking patches '/patch\s*#?([0-9]{6,})/i' |