Clean up style a bit and fix saving the document start pointer when passing into a sub-block.
Clean up style a bit and fix saving the document start pointer when passing
into a sub-block.

kristapsdz/lowdown,kristapsdz/lowdown,kristapsdz/lowdown