Handle block tags inside inline tags

HTML5 actually allows this, and many templates have it.
Fixes blockspace detection handling quirks as a side effect.

Change-Id: Id6ce052ed69de9a0d53f494e2e069f99982e7748