mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use html.escape()/unescape().
This commit is contained in:
parent
28d5262fa3
commit
8d76443aba
20 changed files with 57 additions and 59 deletions
|
|
@ -199,7 +199,7 @@ class TestModelDetailView(TestDataMixin, AdminDocsTestCase):
|
|||
"""
|
||||
Methods with keyword arguments should have their arguments displayed.
|
||||
"""
|
||||
self.assertContains(self.response, "<td>suffix='ltd'</td>")
|
||||
self.assertContains(self.response, '<td>suffix='ltd'</td>')
|
||||
|
||||
def test_methods_with_multiple_arguments_display_arguments(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue