Ah, ignore me. `(curQuote == BLOCK_QUOTE) && quoteStartsAt(buffer, curIndex) == BLOCK_QUOTE` should suffice.