throwing messages with context when problems with unclosed tags and
unopened tags
up to v0.7.5