Remove <thead> and <tfoot> #1138