jackdewinter / pymarkdown

MIT License
73 stars 17 forks source link

Indent issue (test_extra_046cc0) #1175

Closed jackdewinter closed 1 month ago

jackdewinter commented 2 months ago

Prerequisites

Bug Report

Bug Type

Description

Indent issues NOTE: blocks bad_fenced_block_in_list_in_list_in_block_quote_with_previous_list

Specifics

What operating system and version are you running into this behavior on?

Win11

What version are you seeing this behavior in? (Run pip list or pipenv run pip list and look for the entry beside pymarkdownlnt.)

latest, main

Are there any extra steps that need to be taken before executing the application?

No

What is the command line you invoke to get this behavior?

test_extra_046cc0

Are you using a configuration file? Either on the command line or one of the implicit configuration files? If so, attach that file to this issue.

No

What Markdown document causes this behavior to manifest? Attach that file to this issue.

> + + -----
>     + list 1
>       list 2
>     + list 3
>     ```block
>     A code block
>     ```
>     -----
> + another list

Actual Behavior

> + + -----
>     + list 1
>       list 2
>     + list 3
>       ```block
>       A code block
>     ```
>     -----
> + another list

Expected Behavior

same as input

jackdewinter commented 1 month ago

fixed in https://github.com/jackdewinter/pymarkdown/pull/1194