Fix bug with caption generation within table instead of level 1 header
---
 rst2html5.py   | 31 +++++++++++++++++--------------
 tests/cases.py | 28 ++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 14 deletions(-)
fixes #1 | Footer should be at the bottom of the page

--HG--
extra : rebase_source : e83681fa1c71f559572e14c078f5755d63567949