Extension:SimpleTable/1.0

\n";

// Done.

// * Added parse call that reserves the Parse reference.

// Reserve Parse Reference $ret = $parser->parse(                       $wikiTable,                        $parser->mTitle,                        $parser->mOptions,                        false,                        false                        ); return $ret->getText;

}

/* * Convert tabbed data into an HTML table body. */ function convertTable($tabbed) { $wikitab = "";

// Remove initial and final newlines. $tabbed = trim($tabbed);

// Split the input into lines, and convert each line to table format. $lines = preg_split('/\n/', $tabbed); foreach ($lines as $line) { $wikitab .= " \n"; $wikitab .= " ". preg_replace('/\t/', ' ', $line). " \n"; $wikitab .= " \n"; } return $wikitab; }

?>