Improve support for nested tables

Support heading and list-tags inside td elements.