danielc Tue Nov 30 14:19:37 2004 EDT
Modified files:
/pearweb/include pear-format-html.php
Log:
* The 0 width space, not the optional #, was the problem in bug 2855.
http://cvs.php.net/diff.php/pearweb/include/pear-format-html.php?r1=1.158&r2=1.159&ty=u
Index: pearweb/include/pear-format-html.php
diff -u pearweb/include/pear-format-html.php:1.158
pearweb/include/pear-format-html.php:1.159
--- pearweb/include/pear-format-html.php:1.158 Tue Nov 30 01:14:52 2004
+++ pearweb/include/pear-format-html.php Tue Nov 30 14:19:37 2004
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: pear-format-html.php,v 1.158 2004/11/30 06:14:52 dufuz Exp $
+ $Id: pear-format-html.php,v 1.159 2004/11/30 19:19:37 danielc Exp $
*/
PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'error_handler');
@@ -1055,10 +1055,10 @@
*/
function make_ticket_links($text)
{
- $text = preg_replace('/(?<=php)\s*(bug|request)\s*#?([0-9]+)/i',
+ $text = preg_replace('/(?<=php)\s*(bug|request)\s+#?([0-9]+)/i',
' <a href="http://bugs.php.net/\\2">\\1 \\2</a>',
$text);
- $text = preg_replace('/(?<!>)(bug|request)\s*#([0-9]+)/i',
+ $text = preg_replace('/(?<!>)(bug|request)\s+#?([0-9]+)/i',
'<a href="/bugs/\\2">\\0</a>', $text);
return $text;
}
--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|