includes/wikiengine/Tables.php
changeset 1073 b19a9bcb6a45
parent 1027 98c052fc3337
child 1081 745200a9cc2a
--- a/includes/wikiengine/Tables.php	Tue Aug 04 15:02:00 2009 -0400
+++ b/includes/wikiengine/Tables.php	Tue Aug 04 15:02:54 2009 -0400
@@ -67,7 +67,7 @@
       $attributes = unstripForHTML( $matches[2] );
 
       $t[$k] = str_repeat( '<dl><dd>', $indent_level ) .
-        '<_paragraph_bypass><table' . fixTagAttributes( $attributes, 'table' ) . '>' ;
+        '<table' . fixTagAttributes( $attributes, 'table' ) . '>' ;
       array_push ( $td , false ) ;
       array_push ( $ltd , '' ) ;
       array_push ( $tr , false ) ;
@@ -76,7 +76,7 @@
     }
     else if ( count ( $td ) == 0 ) { } # Don't do any of the following
     else if ( '|}' == substr ( $x , 0 , 2 ) ) {
-      $z = "</table></_paragraph_bypass>" . substr ( $x , 2);
+      $z = "</table>" . substr ( $x , 2);
       $l = array_pop ( $ltd ) ;
       if ( !array_pop ( $has_opened_tr ) ) $z = "<tr><td></td></tr>" . $z ;
       if ( array_pop ( $tr ) ) $z = '</tr>' . $z ;