You also need to handle the `th` case, I think.

 Eg:
`<table><tr><th>foo</th></tr></table>`