summaryrefslogtreecommitdiff
path: root/tests/basic/inline-html-comments.html
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2020-09-22 10:42:17 -0400
committerGitHub <noreply@github.com>2020-09-22 10:42:17 -0400
commitb701c34ebd7b2d0eb319517b9a275ddf0c89608d (patch)
treeb79839201a337d38276f345595947b0a15a7567b /tests/basic/inline-html-comments.html
parent90e750b1f4fa8d150d7b5a4709858c786f2794dd (diff)
downloadpython-markdown-b701c34ebd7b2d0eb319517b9a275ddf0c89608d.tar.gz
Refactor HTML Parser (#803)
The HTML parser has been completely replaced. The new HTML parser is built on Python's html.parser.HTMLParser, which alleviates various bugs and simplifies maintenance of the code. The md_in_html extension has been rebuilt on the new HTML Parser, which drastically simplifies it. Note that raw HTML elements with a markdown attribute defined are now converted to ElementTree Elements and are rendered by the serializer. Various bugs have been fixed. Link reference parsing, abbreviation reference parsing and footnote reference parsing has all been moved from preprocessors to blockprocessors, which allows them to be nested within other block level elements. Specifically, this change was necessary to maintain the current behavior in the rebuilt md_in_html extension. A few random edge-case bugs (see the included tests) were resolved in the process. Closes #595, closes #780, closes #830 and closes #1012.
Diffstat (limited to 'tests/basic/inline-html-comments.html')
-rw-r--r--tests/basic/inline-html-comments.html11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/basic/inline-html-comments.html b/tests/basic/inline-html-comments.html
deleted file mode 100644
index 0d4cad9..0000000
--- a/tests/basic/inline-html-comments.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<p>Paragraph one.</p>
-<!-- This is a simple comment -->
-
-<!--
- This is another comment.
--->
-
-<p>Paragraph two.</p>
-<!-- one comment block -- -- with two comments -->
-
-<p>The end.</p> \ No newline at end of file