make URLs clickable
This commit is contained in:
@@ -9,6 +9,9 @@
|
||||
$changelog = htmlspecialchars(file_get_contents('ChangeLog'));
|
||||
|
||||
$replaces = array(
|
||||
'@(http://[./a-zA-Z0-9.-]*[/a-zA-Z0-9])@'
|
||||
=> '<a href="\\1">\\1</a>',
|
||||
|
||||
// sourceforge users
|
||||
'/([0-9]{4}-[0-9]{2}-[0-9]{2}) (.+[^ ]) +<(.*)@users.sourceforge.net>/i'
|
||||
=> '\\1 <a href="https://sourceforge.net/users/\\3/">\\2</a>',
|
||||
|
Reference in New Issue
Block a user