'Ensure http response from a popup is properly escaped.'

def testPopupAddPost(self):

    post_data = {u'_popup': u'1', u'title': u'title    with    a    new\nline', u'content': u'some    content', u'date_0': u'2010-09-10', u'date_1': u'14:55:39'}
    response = self.client.post((u'/test_admin/%s/admin_views/article/add/' % self.urlbit), post_data)
    self.assertEqual(response.status_code, 200)
    self.assertContains(response, u'dismissAddAnotherPopup')
    self.assertContains(response, u'title    with    a    new\\u000Aline')
