| Hannes Magnusson 2006-09-28, 6:57 pm |
| bjori Thu Sep 28 13:29:43 2006 UTC
Modified files:
/phpweb/include layout.inc
Log:
Fixed bug#32118 (Incorrect clickable link inside code in Your Notes)
http://cvs.php.net/viewvc.cgi/phpwe...8&diff_format=u
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.247 phpweb/include/layout.inc:1.248
--- phpweb/include/layout.inc:1.247 Tue Sep 19 12:10:20 2006
+++ phpweb/include/layout.inc Thu Sep 28 13:29:43 2006
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.247 2006/09/19 12:10:20 goba Exp $ */
+/* $Id: layout.inc,v 1.248 2006/09/28 13:29:43 bjori Exp $ */
// Set the static content root differently on php.net
$_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ?
@@ -443,7 +443,7 @@
// Turn urls into links
$text = preg_replace(
- '!((mailto:|(http|ftp|nntp|news):\/\/).*?)(\s|<|\)|"|\\|'|$)!',
+ '!((mailto:|(http|ftp|nntp|news):\/\/).*?)(\s|<|\)|"|\\\\|'|$)!',
'<a href="\1" target="_blank">\1</a>\4',
$text
);
|