Ticket #1632: markdown-test.patch

File markdown-test.patch, 519 bytes (added by pb, 18 years ago)

markdown patch

  • tests/othertests/markup.py

     
    4646
    4747t = Template("{{ markdown_content|markdown }}")
    4848rendered = t.render(Context(locals())).strip()
    49 if textile:
    50     assert rendered == """<p>Paragraph 1</p><h2>An h2</h2>"""
     49if markdown:
     50    assert rendered == """<p>Paragraph 1</p>\n\n<h2>An h2</h2>"""
    5151else:
    5252    assert rendered == markdown_content
Back to Top