Can properly handle tables containing rowspan and colspan, which is done by expanding them and thus removing the colspan and rowspan attribs