Fix bug with caption generation within table instead of level 1 header
Merge pull request #1 from neoascetic/table_caption_fix

Fix bug with caption generation within table instead of level 1 header