4 This markup extension, allows for following syntax to merge
5 neighboured table cells together:
9 ||| this occoupies the whole row |
10 | col1 | col2 | col3 |
14 $ewiki_plugins["format_final"][] = "ewiki_table_colspan";
15 function ewiki_table_colspan(&$html) {
17 '#(<td></td>\s*)+<td#e',
18 '"<td colspan=\"" . (1+((int)(strlen(preg_replace("/\s+/","","$0"))-3)/9)) . "\""',