Also, `fixNestingBeforeOpeningBlockTag` is not well-implemented and might cause you some problems. You'll probably want to throw in some tests that mix that functionality with the tag removal here.