-
Notifications
You must be signed in to change notification settings - Fork 884
Closed
Labels
bugBug report.Bug report.confirmedConfirmed bug report or approved feature request.Confirmed bug report or approved feature request.extensionRelated to one or more of the included extensions.Related to one or more of the included extensions.
Description
Version 3.3.3. I've found several anomalies in the behavior of nested markdown=1 blocks. Here's one that's probably diagnostic:
markdown.markdown('<div class="outer" markdown="block"><div class="inner" markdown="block">*foo*</div></div>', extensions=["extra"])
returns:
'<p><div class="inner" markdown="block"><div class="outer" markdown="block">*foo*</div></p>\n</div>'
The inner <div>
is now outside.
Other weird things in this example are the addition of the <p>
tags, which are unmatched, and a stray \n
.
Metadata
Metadata
Assignees
Labels
bugBug report.Bug report.confirmedConfirmed bug report or approved feature request.Confirmed bug report or approved feature request.extensionRelated to one or more of the included extensions.Related to one or more of the included extensions.