Ticket #1632: markdown-test.patch
| File markdown-test.patch, 0.5 kB (added by pb, 3 years ago) |
|---|
-
tests/othertests/markup.py
old new 46 46 47 47 t = Template("{{ markdown_content|markdown }}") 48 48 rendered = t.render(Context(locals())).strip() 49 if textile:50 assert rendered == """<p>Paragraph 1</p> <h2>An h2</h2>"""49 if markdown: 50 assert rendered == """<p>Paragraph 1</p>\n\n<h2>An h2</h2>""" 51 51 else: 52 52 assert rendered == markdown_content
