Looking at the way this is actually used, it seems like any time this flag is true, the next time you encounter a closing block tag that hasn't already been opened, you ignore it. I'd say this variable should either be called `_ignoreNextExtraBlockClose` or some such or the place that uses it should ensure its dealing with an `li` tag.

Also, is there any chance you could get in a situation where you would hit two `li` tags that you would need to remove? If that's possible, then this flag method would be a problem, since the first one would clear the flag. An alternative way to do that would be a `_unopenedBlockClosesToIgnore` list to which you can add tag types.