Ticket #10843: 10843.patch

File 10843.patch, 589 bytes (added by Bruno Renié, 15 years ago)

Patch without version check, just removes tabs from the rendered text

  • django/contrib/markup/tests.py

     
    2222        t = Template("{{ textile_content|textile }}")
    2323        rendered = t.render(Context(locals())).strip()
    2424        if textile:
    25             self.assertEqual(rendered, """<p>Paragraph 1</p>
     25            self.assertEqual(rendered.replace('\t', ''), """<p>Paragraph 1</p>
    2626
    2727<p>Paragraph 2 with &#8220;quotes&#8221; and <code>code</code></p>""")
    2828        else:
Back to Top