Fixed #10843: the textile tests now pass against the latest textile library.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
308ca6d8d5
commit
90ce8b0c99
|
@ -22,7 +22,7 @@ Paragraph 2 with "quotes" and @code@"""
|
|||
t = Template("{{ textile_content|textile }}")
|
||||
rendered = t.render(Context(locals())).strip()
|
||||
if textile:
|
||||
self.assertEqual(rendered, """<p>Paragraph 1</p>
|
||||
self.assertEqual(rendered.replace('\t', ''), """<p>Paragraph 1</p>
|
||||
|
||||
<p>Paragraph 2 with “quotes” and <code>code</code></p>""")
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue