(self)
| 25 | class TestCode(TestCase): |
| 26 | |
| 27 | def test_code_comments(self): |
| 28 | self.assertMarkdownRenders( |
| 29 | self.dedent( |
| 30 | """ |
| 31 | Some code `<!--` that is not HTML `-->` in a paragraph. |
| 32 | |
| 33 | Some code `<!--` |
| 34 | that is not HTML `-->` |
| 35 | in a paragraph. |
| 36 | """ |
| 37 | ), |
| 38 | self.dedent( |
| 39 | """ |
| 40 | <p>Some code <code><!--</code> that is not HTML <code>--></code> in a paragraph.</p> |
| 41 | <p>Some code <code><!--</code> |
| 42 | that is not HTML <code>--></code> |
| 43 | in a paragraph.</p> |
| 44 | """ |
| 45 | ) |
| 46 | ) |
| 47 | |
| 48 | def test_code_html(self): |
| 49 | self.assertMarkdownRenders( |
nothing calls this directly
no test coverage detected