add check in case block is not a Dict

This comes up with using `-----` to generate `</hr>`
Merge pull request #49 from jverzani/patch-1

add check in case block is not a Dict