Revert "Removing extra </table> and </li> tags."

This reverts commit 8f8c4e7b6a8013b33defac2b4b0230bf2ebb3e30.
Fixing table markup problems