mirror of
https://github.com/django/django.git
synced 2025-08-01 09:32:50 +00:00
Fixed #27207 -- Replaced <p> tag with <div> in admin help texts.
This commit is contained in:
parent
14879ac61d
commit
2d26b4637f
9 changed files with 44 additions and 22 deletions
|
@ -158,7 +158,7 @@ class TestInline(TestDataMixin, TestCase):
|
|||
Ref #8190.
|
||||
"""
|
||||
response = self.client.get(reverse('admin:admin_inlines_holder4_add'))
|
||||
self.assertContains(response, '<p class="help">Awesome stacked help text is awesome.</p>', 4)
|
||||
self.assertContains(response, '<div class="help">Awesome stacked help text is awesome.</div>', 4)
|
||||
self.assertContains(
|
||||
response,
|
||||
'<img src="/static/admin/img/icon-unknown.svg" '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue