Closes #489 by removing invalid markup from inside the table.