From: <var...@us...> - 2010-10-05 16:08:41
|
Revision: 7711 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7711&view=rev Author: vargenau Date: 2010-10-05 16:08:35 +0000 (Tue, 05 Oct 2010) Log Message: ----------- Fix parsing problem: paragraph consisting only og "{{w.png}}{{w.png}}" Modified Paths: -------------- trunk/lib/BlockParser.php Modified: trunk/lib/BlockParser.php =================================================================== --- trunk/lib/BlockParser.php 2010-10-01 11:45:58 UTC (rev 7710) +++ trunk/lib/BlockParser.php 2010-10-05 16:08:35 UTC (rev 7711) @@ -1131,6 +1131,10 @@ var $_re = '{{'; function _match (&$input, $m) { + // If we find "}}", this is an inline template. + if (strpos($m->postmatch, "}}") !== false) { + return false; + } $pos = $input->getPos(); $pi = $m->postmatch; if ($pi[0] == '{') { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |