fix email links
This commit is contained in:
@@ -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'
|
||||
|
Reference in New Issue
Block a user