cvs: pear /Text_Wiki/Text/Wiki/Parse/Default List.php
| From: | Paul Jones | Date: | Sat, 28 May 2005 21:16:28 +0000 |
| Subject: | cvs: pear /Text_Wiki/Text/Wiki/Parse/Default List.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-32192@lists.php.net to get a copy of this message | ||
pmjones Sat May 28 17:16:28 2005 EDT
Modified files:
/pear/Text_Wiki/Text/Wiki/Parse/Default List.php
Log:
fixed bug 3959, "XHTML lists not rendered according W3C Standards", where
a single newline is not enough to end a paragraph before a list. added an extra newline
to the returned (parsed) text.
http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/List.php?r1=1.3&r2=1.4&ty=u
Index: pear/Text_Wiki/Text/Wiki/Parse/Default/List.php
diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/List.php:1.3
pear/Text_Wiki/Text/Wiki/Parse/Default/List.php:1.4
--- pear/Text_Wiki/Text/Wiki/Parse/Default/List.php:1.3 Wed Feb 23 12:38:29 2005
+++ pear/Text_Wiki/Text/Wiki/Parse/Default/List.php Sat May 28 17:16:28 2005
@@ -12,7 +12,7 @@
*
* @license LGPL
*
-* @version $Id: List.php,v 1.3 2005/02/23 17:38:29 pmjones Exp $
+* @version $Id: List.php,v 1.4 2005/05/28 21:16:28 pmjones Exp $
*
*/
@@ -242,7 +242,7 @@
}
// we're done! send back the replacement text.
- return "\n" . $return . "\n\n";
+ return "\n\n" . $return . "\n\n";
}
}
?>
\ No newline at end of file