diff --git a/ChangeLog b/ChangeLog index 67ebc55fe..f51286379 100755 --- a/ChangeLog +++ b/ChangeLog @@ -9,7 +9,7 @@ $Source$ * libraries/common.lib.php: Make cookie login form work with token protection. * libraries/auth/cookie.auth.lib.php: Do not include empty values. - * changelog.php: Generate proper XHTML. + * changelog.php: Generate proper XHTML, make URLs clickable. 2006-04-25 Sebastian Mendel * db_details_qbe.php, db_printview.php, libraries/display_tbl.lib.php, diff --git a/changelog.php b/changelog.php index 0912c2abe..5374ea224 100644 --- a/changelog.php +++ b/changelog.php @@ -9,6 +9,9 @@ $changelog = htmlspecialchars(file_get_contents('ChangeLog')); $replaces = array( + '@(http://[./a-zA-Z0-9.-]*[/a-zA-Z0-9])@' + => '\\1', + // sourceforge users '/([0-9]{4}-[0-9]{2}-[0-9]{2}) (.+[^ ]) +<(.*)@users.sourceforge.net>/i' => '\\1 \\2',