= 5.5 compatible (remove the "e" modifier in substitution strings) */ SDV($RecipeInfo['RowspanInSimpleTables']['Version'], '2015-08-17'); ## rowspan in simple tables Markup_e('||++', '>^||', '/(]*>.*?)(\+\++)/', "CellRowspan(\$m[1],strlen(\$m[2]))"); function CellRowspan($string,$r) { return preg_replace('/^(.*<\/t[dh]>)?(]*)(>.*?)$/', '$1$2 rowspan="'.$r.'"$3',$string); } ## rowspan filler Markup('||^^', '<^||||', '/\|\|\^\^+(?=\|\|)/',''); ## colspan filler Markup('||__', '<^||||', '/\|\|__+(?=\|\|)/','||');