cvs: pear /Text_Wiki/Text/Wiki/Parse/Default Toc.php
| From: | Paul Jones | Date: | Sat, 28 May 2005 21:33:03 +0000 |
| Subject: | cvs: pear /Text_Wiki/Text/Wiki/Parse/Default Toc.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-32196@lists.php.net to get a copy of this message | ||
pmjones Sat May 28 17:33:03 2005 EDT
Modified files:
/pear/Text_Wiki/Text/Wiki/Parse/Default Toc.php
Log:
parser returns an extra newline before the replacement to comply
with the matching regex.
http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Toc.php?r1=1.3&r2=1.4&ty=u
Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Toc.php
diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Toc.php:1.3
pear/Text_Wiki/Text/Wiki/Parse/Default/Toc.php:1.4
--- pear/Text_Wiki/Text/Wiki/Parse/Default/Toc.php:1.3 Wed Feb 23 12:38:29 2005
+++ pear/Text_Wiki/Text/Wiki/Parse/Default/Toc.php Sat May 28 17:33:02 2005
@@ -12,7 +12,7 @@
*
* @license LGPL
*
-* @version $Id: Toc.php,v 1.3 2005/02/23 17:38:29 pmjones Exp $
+* @version $Id: Toc.php,v 1.4 2005/05/28 21:33:02 pmjones Exp $
*
*/
@@ -124,7 +124,7 @@
)
);
- return $output;
+ return "\n$output\n";
}
}
?>
\ No newline at end of file