From 1894517b75d81fbb51dbbc17027b06d56cbd85b8 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Fri, 4 Mar 2005 10:24:07 +0000 Subject: [PATCH] Fix for Bug 1620, Wiki-table nnd tag strips whole line, hiding text after table Bug reported and patch supplied by: Andrius Ramanauskas (Knutux) - alarm at takas.lt --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index 0a19fb0176..bf04c12e3c 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -552,7 +552,7 @@ class Parser } else if ( count ( $td ) == 0 ) { } # Don't do any of the following else if ( '|}' == substr ( $x , 0 , 2 ) ) { - $z = "\n" ; + $z = "" . substr ( $x , 2) . "\n"; $l = array_pop ( $ltd ) ; if ( array_pop ( $tr ) ) $z = '' . $z ; if ( array_pop ( $td ) ) $z = '' . $z ; -- 2.20.1