fix for a typo

`endfor` should be inside the table tag
Merge pull request #365 from yogthos/patch-1

fix for a typo