Improve `_exec` and its test coverage

The only use for `FORMAT_BLOCK` that I can find is in the lines right above and in some code that wraps orphan text nodes in root containers.

The former case doesn't happen any more.

The latter—I just tested manually and I don't see any disappearing images.

I'm OK with this.