Last modified: 2011-04-13 20:01:46 UTC
Problem: Parser is unable to render indented tables which are separated by spaces from heading colons (:). Example: :{| ... this cause correct table rendering : {| ... this cause a bug Solution: in method doTableStuff() (phase3/includes/parser/Parser.php) replace regexp. on line like if ( preg_match( '/^(:*)\{\|(.*)$/', $line , $matches ) ) { with if ( preg_match( '/^(:*) *\{\|(.*)$/', $line , $matches ) ) { thanks.
Created attachment 7919 [details] allow spaces between :* and {| (In reply to comment #0) > Solution: > in method doTableStuff() (phase3/includes/parser/Parser.php) replace regexp. on > line like > if ( preg_match( '/^(:*)\{\|(.*)$/', $line , $matches ) ) { > with > if ( preg_match( '/^(:*) *\{\|(.*)$/', $line , $matches ) ) { > thanks. You are right. The attached patch add the space character for the regex.
Fixed in r85988