Fix block nesting

Blocks nested inside an element inside a block where not parsed properly.
Merge pull request #14 from floridoo/blockNestingFix

Fix block nesting