mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #29038 -- Removed closing slash from HTML void tags.
This commit is contained in:
parent
4b0f39d9fb
commit
ff05de760c
112 changed files with 1487 additions and 1483 deletions
|
@ -27,8 +27,8 @@ class NullBooleanFieldTest(FormFieldAssertionsMixin, SimpleTestCase):
|
|||
hidden_nullbool2 = NullBooleanField(widget=HiddenInput, initial=False)
|
||||
f = HiddenNullBooleanForm()
|
||||
self.assertHTMLEqual(
|
||||
'<input type="hidden" name="hidden_nullbool1" value="True" id="id_hidden_nullbool1" />'
|
||||
'<input type="hidden" name="hidden_nullbool2" value="False" id="id_hidden_nullbool2" />',
|
||||
'<input type="hidden" name="hidden_nullbool1" value="True" id="id_hidden_nullbool1">'
|
||||
'<input type="hidden" name="hidden_nullbool2" value="False" id="id_hidden_nullbool2">',
|
||||
str(f)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue