Run postprocessors from Markdown instance on text.
(text: str, md: Markdown)
| 129 | |
| 130 | |
| 131 | def run_postprocessors(text: str, md: Markdown) -> str: |
| 132 | """ Run postprocessors from Markdown instance on text. """ |
| 133 | for pp in md.postprocessors: |
| 134 | text = pp.run(text) |
| 135 | return text.strip() |
| 136 | |
| 137 | |
| 138 | def render_inner_html(el: etree.Element, md: Markdown) -> str: |
no test coverage detected
searching dependent graphs…