(self, xml)
| 490 | self.pretty = markdown.treeprocessors.PrettifyTreeprocessor(md) |
| 491 | |
| 492 | def prettify(self, xml): |
| 493 | root = etree.fromstring(xml) |
| 494 | self.pretty.run(root) |
| 495 | return etree.tostring(root, encoding="unicode", short_empty_elements=False) |
| 496 | |
| 497 | def testPreCodeEmpty(self): |
| 498 | xml = "<pre><code></code></pre>" |
no test coverage detected