Fix parsing listitems, tables, etc