Added support for thead, tbody and tfoot.

Just a small fix.

Rows will be processed normally, no additional formatting will be applied. One of the tables in test.html was modified to demonstrate the change.