cvs: phpweb /include layout.inc
| From: | Hannes Magnusson | Date: | Thu, 28 Sep 2006 13:29:43 +0000 |
| Subject: | cvs: phpweb /include layout.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-32840@lists.php.net to get a copy of this message | ||
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/phpweb/include/layout.inc?r1=1.247&r2=1.248&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
);