cvs: phpdoc /scripts switch-to-newstyle.php
| From: | Mehdi Achour | Date: | Tue, 16 Jan 2007 01:30:02 +0000 |
| Subject: | cvs: phpdoc /scripts switch-to-newstyle.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969374830@lists.php.net to get a copy of this message | ||
didou Tue Jan 16 01:30:02 2007 UTC
Modified files:
/phpdoc/scripts switch-to-newstyle.php
Log:
don't block on references
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/switch-to-newstyle.php?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/scripts/switch-to-newstyle.php
diff -u phpdoc/scripts/switch-to-newstyle.php:1.4 phpdoc/scripts/switch-to-newstyle.php:1.5
--- phpdoc/scripts/switch-to-newstyle.php:1.4 Mon Jan 15 21:08:52 2007
+++ phpdoc/scripts/switch-to-newstyle.php Tue Jan 16 01:30:02 2007
@@ -16,7 +16,7 @@
| Authors: Mehdi Achour <didou@php.net> |
+----------------------------------------------------------------------+
-$Id: switch-to-newstyle.php,v 1.4 2007/01/15 21:08:52 didou Exp $
+$Id: switch-to-newstyle.php,v 1.5 2007/01/16 01:30:02 didou Exp $
*/
if (PHP_SAPI !== 'cli') {
@@ -87,7 +87,7 @@
if (count($result)) {
$params = array();
- preg_match_all('@<parameter>([^<]*)</parameter>@', $result[1],
$params);
+ preg_match_all('@<parameter[^>]*>([^<]*)</parameter>@',
$result[1], $params);
if (count($params) && count($params[1])) {
$buffer = '</refsect1>