From: <rob...@us...> - 2012-04-17 16:45:20
|
Revision: 40966 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=40966&view=rev Author: robertplummer Date: 2012-04-17 16:45:09 +0000 (Tue, 17 Apr 2012) Log Message: ----------- [FIX] strtolower was in wrong order Modified Paths: -------------- branches/9.x/lib/parser/parserlib.php Modified: branches/9.x/lib/parser/parserlib.php =================================================================== --- branches/9.x/lib/parser/parserlib.php 2012-04-17 16:31:49 UTC (rev 40965) +++ branches/9.x/lib/parser/parserlib.php 2012-04-17 16:45:09 UTC (rev 40966) @@ -2136,7 +2136,7 @@ // check if we are inside a ~hc~ block and, if so, ignore // monospaced and do not insert <br /> - $lineInLowerCase = $this->unprotectSpecialChars(strtolower($line), true); + $lineInLowerCase = strtolower($this->unprotectSpecialChars($line, true)); $inComment += substr_count($lineInLowerCase, "<!--"); $inComment -= substr_count($lineInLowerCase, "-->"); @@ -2148,6 +2148,7 @@ // check if we are inside a table, if so, ignore monospaced and do // not insert <br /> + $inTable += substr_count($lineInLowerCase, "<table"); $inTable -= substr_count($lineInLowerCase, "</table"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |