cvs: pear /Text_Wiki/Text/Wiki/Parse/Mediawiki Table.php
| From: | Moritz Venn | Date: | Thu, 13 Apr 2006 17:01:17 +0000 |
| Subject: | cvs: pear /Text_Wiki/Text/Wiki/Parse/Mediawiki Table.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-39599@lists.php.net to get a copy of this message | ||
ritzmo Thu Apr 13 17:01:17 2006 UTC
Modified files:
/pear/Text_Wiki/Text/Wiki/Parse/Mediawiki Table.php
Log:
Correct Cell-Parsing (#7392)
http://cvs.php.net/viewcvs.cgi/pear/Text_Wiki/Text/Wiki/Parse/Mediawiki/Table.php?r1=1.7&r2=1.8&diff_format=u
Index: pear/Text_Wiki/Text/Wiki/Parse/Mediawiki/Table.php
diff -u pear/Text_Wiki/Text/Wiki/Parse/Mediawiki/Table.php:1.7
pear/Text_Wiki/Text/Wiki/Parse/Mediawiki/Table.php:1.8
--- pear/Text_Wiki/Text/Wiki/Parse/Mediawiki/Table.php:1.7 Tue Dec 6 15:54:56 2005
+++ pear/Text_Wiki/Text/Wiki/Parse/Mediawiki/Table.php Thu Apr 13 17:01:17 2006
@@ -15,7 +15,7 @@
* @author Bertrand Gugger <bertrand@toggg.com>
* @copyright 2005 bertrand Gugger
* @license http://www.gnu.org/copyleft/lesser.html LGPL
License 2.1
- * @version CVS: $Id: Table.php,v 1.7 2005/12/06 15:54:56 ritzmo Exp $
+ * @version CVS: $Id: Table.php,v 1.8 2006/04/13 17:01:17 ritzmo Exp $
* @link http://pear.php.net/package/Text_Wiki
*/
@@ -64,7 +64,7 @@
* @see processCells()
*/
var $regexCells =
- '#((?:^\||^!|\|\||!!|\G))(?:([^|\n]*?) \|(?!\|))?(.+?)(?=^\||^!|\|\||!!|\z)#msi';
+ '#((?:^\||^!|\|\||!!|\G))(?:([^|\n]*?)\|(?!\|))?(.+?)(?=^\||^!|\|\||!!|\z)#msi';
/**
* The current table nesting depth, starts by zero