From 4dba7df627f47e1a187cc92bdb3c7557ffae8a23 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Fri, 24 Mar 2006 16:37:43 +0000 Subject: [PATCH] This is actually the table special case, the other was about script being wrapped in a paragraph --- includes/Parser.php | 3 +++ 1 file changed, 3 insertions(+) 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 ; } -- 2.20.1