From: <var...@us...> - 2010-11-08 13:45:18
|
Revision: 7729 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7729&view=rev Author: vargenau Date: 2010-11-08 13:45:12 +0000 (Mon, 08 Nov 2010) Log Message: ----------- Use "explode" instead of "preg_split" Modified Paths: -------------- trunk/lib/plugin/MediawikiTable.php Modified: trunk/lib/plugin/MediawikiTable.php =================================================================== --- trunk/lib/plugin/MediawikiTable.php 2010-11-08 13:09:29 UTC (rev 7728) +++ trunk/lib/plugin/MediawikiTable.php 2010-11-08 13:45:12 UTC (rev 7729) @@ -75,7 +75,7 @@ $argstr = str_replace("||", "\n| ", $argstr); $argstr = str_replace("!!", "\n! ", $argstr); - $lines = preg_split('/\n/', $argstr); + $lines = explode("\n", $argstr); $table = HTML::table(); // We always generate an Id for the table. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |