pymarkdown icon indicating copy to clipboard operation
pymarkdown copied to clipboard

Test test_extra_044jec with alternating bq and ul starts only accepts first three

Open jackdewinter opened this issue 1 month ago • 0 comments

Prerequisites

  • [X] Are you running the latest version of this application?
  • [X] Have you checked the Frequently Asked Questions document?
  • [X] Have you simplified the bug report to the essential details?
    • [X] Do you have a distinct command line to report?
    • [X] Can you clearly state the configuration for this bug report?
    • [X] Do you have a minimal document that highlights this bug?
    • [X] Are any required files (configuration or Markdown document) attached to the issue?
  • [X] Did you perform a cursory search of other issues to look for related issues?

Bug Report

Bug Type

  • [X] Tokenization Failure

Description

When executing test test_extra_044jec, the first 3/5 containers are handled properly, but the last two are treated as text.

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

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_044jec

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.

> + > + > -----
>   >   > block
>   >   > abc
>   >   > un-block
>   >   > _____
>   > + > more

Actual Behavior

First part of the document is

<blockquote>
<ul>
<li>
<blockquote>
<p>+ &gt; -----</p>
<blockquote>
<p>block
abc
un-block</p>
<hr />

Expected Behavior

First part of the document should be

<blockquote>
<ul>
<li>
<blockquote>
<ul>
<li>
<blockquote>
<hr />

jackdewinter avatar Dec 21 '25 01:12 jackdewinter