A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Python-Markdown/markdown/issues/1012 below:

HTML comment in markdown="1" block causes conversion stoppage · Issue #1012 · Python-Markdown/markdown · GitHub

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4