There was an error while loading. Please reload this page.
1 parent 1a0a893 commit 46ac436Copy full SHA for 46ac436
tests/test_syntax/extensions/test_md_in_html.py
@@ -654,6 +654,28 @@ def test_md1_nested_unclosed_p(self):
654
)
655
656
657
+ def test_md1_nested_comment(self):
658
+ self.assertMarkdownRenders(
659
+ self.dedent(
660
+ """
661
+ <div markdown="1">
662
+ A *Markdown* paragraph.
663
+ <!-- foobar -->
664
665
+ </div>
666
667
+ ),
668
669
670
+ <div>
671
+ <p>A <em>Markdown</em> paragraph.</p>
672
673
674
675
676
+ )
677
678
+
679
def test_md1_nested_link_ref(self):
680
self.assertMarkdownRenders(
681
self.dedent(
0 commit comments