-
Notifications
You must be signed in to change notification settings - Fork 882
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
from markdown import markdown as md
t1 = """<div markdown="1">
***This is markdownized***
<!---foobar-->
***This is not markdownized***
</div>"""
md(t1,extensions=["extra"])
Yields:
'<div>\n<p><strong><em>This is markdownized</em></strong></p>\n<!---foobar-->\n\n***This is not markdownized***\n\n</div>'
Anything within the <div>
after the HTML comment is not processed.
Bug, or just unexpected behavior for me?
Relevant fact: PHP Extra does not have this behavior; it does continue processing as markdown after the comment.
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.