We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple fenced code blocks seem to pollute each other
* List 1 ``` code 1 code 2 ``` ``` code 3 ```
<ul> <li>List 1 <pre><code>code 1 code 2</li> </ul> </code></pre> <pre><code>code 3 <p></code></pre></p>
<ul> <li>List 1 <pre><code>code 1 code 2 </code></pre></li> </ul> <pre><code>code 3</code></pre>
Version of library being used:
markdown2==2.4.13
Extras used:
fenced-code-blocks
Broken for nested lists too.
The following Markdown code:
* List 1 * List 2 ``` code 1 code 2 ``` ``` code 3 ```
yields:
<ul> <li>List 1 <ul> <li>List 2 <pre><code>code 1 code 2</li> </ul></li> </ul> </code></pre> <pre><code>code 3 <p></code></pre></p>
instead of:
<li>List 1 <ul> <li>List 2 <pre><code>code 1 code 2 </code></pre></li> </ul></li> </ul> <pre><code>code 3</code></pre>
All Markdown code cross-tested with the markdown-it demo.
markdown-it
The text was updated successfully, but these errors were encountered:
Fix trentm#580
5d1bfd2
Merge pull request #582 from Crozzers/fcb-and-lists
e7d753f
Fix fenced code blocks breaking lists (#580)
Successfully merging a pull request may close this issue.
Describe the bug
Multiple fenced code blocks seem to pollute each other
To Reproduce
Observed behavior
Expected behavior
Debug info
Version of library being used:
markdown2==2.4.13
Extras used:
fenced-code-blocks
Additional context
Broken for nested lists too.
The following Markdown code:
yields:
instead of:
All Markdown code cross-tested with the
markdown-it
demo.The text was updated successfully, but these errors were encountered: