Followup to r86064 (List with double line-breaks inside tables). Also contains patch...
[lhc/web/wiklou.git] / includes / parser / Parser.php
index 6cf1e2b..822c966 100644 (file)
@@ -831,11 +831,8 @@ class Parser {
 
                        # empty line, go to next line,
                        # but only append \n if outside of table
-                       if ( $line === '' ) { 
-                               $out .= $outLine;
-                               if ( !isset( $tables[0] ) ) {
-                                       $out .= "\n";
-                               }
+                       if ( $line === '') { 
+                               $output .= $outLine . "\n";
                                continue;
                        }
                        $firstChars = $line[0];