When there are more than 9 block quotes in a string escape_except_blockquotes will fail do to the fact that the BLOCKQUOTE_TOKEN_{i} replacement will incorrectly match for both BLOCKQUOTE_TOKEN_1 and BLOCKQUOTE_TOKEN_10
This just extends it to BLOCKQUOTE_TOKEN_{i}_END so this accidental match doesn't happen.
When there are more than 9 block quotes in a string
escape_except_blockquotes
will fail do to the fact that theBLOCKQUOTE_TOKEN_{i}
replacement will incorrectly match for bothBLOCKQUOTE_TOKEN_1
andBLOCKQUOTE_TOKEN_10
This just extends it to
BLOCKQUOTE_TOKEN_{i}_END
so this accidental match doesn't happen.