Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #10843: the textile tests now pass against the latest textile l…

…ibrary.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 90ce8b0c99516799ce813349e1f148d040cba948 1 parent 308ca6d
Jacob Kaplan-Moss jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/markup/tests.py
2  django/contrib/markup/tests.py
View
@@ -22,7 +22,7 @@ def test_textile(self):
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 &#8220;quotes&#8221; and <code>code</code></p>""")
else:
Please sign in to comment.
Something went wrong with that request. Please try again.