diff --git a/newdocs/src/changelog.md b/newdocs/src/changelog.md index 8712bac7..a92afd83 100644 --- a/newdocs/src/changelog.md +++ b/newdocs/src/changelog.md @@ -13,6 +13,7 @@ - https://github.com/jackdewinter/pymarkdown/issues/1123 - https://github.com/jackdewinter/pymarkdown/issues/1124 https://github.com/jackdewinter/pymarkdown/issues/1125 +https://github.com/jackdewinter/pymarkdown/issues/1126 ### Changed diff --git a/pymarkdown/block_quotes/block_quote_count_helper.py b/pymarkdown/block_quotes/block_quote_count_helper.py index 1d653344..bb9e4c42 100644 --- a/pymarkdown/block_quotes/block_quote_count_helper.py +++ b/pymarkdown/block_quotes/block_quote_count_helper.py @@ -218,8 +218,7 @@ def __should_continue_processing( ) = BlockQuoteCountHelper.__is_special_double_block_case( parser_state, adjusted_line, start_index, current_count, stack_count ) - CHANGE_1 = True - if not continue_processing and current_count < stack_count and CHANGE_1: + if not continue_processing and current_count < stack_count: continue_proc, stack_token_index = BlockQuoteCountHelper.__xx_part_one(parser_state, start_index, current_count, stack_count) if continue_proc: current_count, start_index, last_block_quote_index = BlockQuoteCountHelper.__xx_part_two(parser_state, stack_token_index, start_index, current_count, stack_count, last_block_quote_index)