From: Gabriel Wicke Date: Fri, 24 Mar 2006 16:37:43 +0000 (+0000) Subject: This is actually the table special case, the other was about script being wrapped... X-Git-Tag: 1.6.0~156 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=4dba7df627f47e1a187cc92bdb3c7557ffae8a23;p=lhc%2Fweb%2Fwiklou.git This is actually the table special case, the other was about script being wrapped in a paragraph --- diff --git a/includes/Parser.php b/includes/Parser.php index 3cc60be4e0..eb1f3f2f34 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -830,6 +830,9 @@ class Parser } $t = implode ( "\n" , $t ) ; + # special case: don't return empty table + if($t == "\n\n
") + $t = ''; wfProfileOut( $fname ); return $t ; }