Skip to content

Fix admonition corner case with indented code blocks#1380

Merged
waylan merged 2 commits into
Python-Markdown:masterfrom
facelessuser:bugfix/admonition-malformed
Sep 5, 2023
Merged

Fix admonition corner case with indented code blocks#1380
waylan merged 2 commits into
Python-Markdown:masterfrom
facelessuser:bugfix/admonition-malformed

Conversation

@facelessuser

Copy link
Copy Markdown
Collaborator

Fix a corner case in admonitions where if an indented code block was provided as the first block, the output would be malformed.

Fixes #1329

Fix a corner case in admonitions where if an indented code block was
provided as the first block, the output would be malformed.

Fixes Python-Markdown#1329
Comment thread docs/changelog.md Outdated
Comment thread docs/changelog.md Outdated
@waylan waylan merged commit 5a2fee3 into Python-Markdown:master Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

admonition extension returns **invalid** html code without blank line.

2 participants