mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +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
|
@ -805,9 +805,9 @@ class TestSplitFormField(PostgreSQLTestCase):
|
|||
<tr>
|
||||
<th><label for="id_array_0">Array:</label></th>
|
||||
<td>
|
||||
<input id="id_array_0" name="array_0" type="text" required />
|
||||
<input id="id_array_1" name="array_1" type="text" required />
|
||||
<input id="id_array_2" name="array_2" type="text" required />
|
||||
<input id="id_array_0" name="array_0" type="text" required>
|
||||
<input id="id_array_1" name="array_1" type="text" required>
|
||||
<input id="id_array_2" name="array_2" type="text" required>
|
||||
</td>
|
||||
</tr>
|
||||
''')
|
||||
|
@ -876,8 +876,8 @@ class TestSplitFormWidget(PostgreSQLWidgetTestCase):
|
|||
self.check_html(
|
||||
SplitArrayWidget(forms.TextInput(), size=2), 'array', None,
|
||||
"""
|
||||
<input name="array_0" type="text" />
|
||||
<input name="array_1" type="text" />
|
||||
<input name="array_0" type="text">
|
||||
<input name="array_1" type="text">
|
||||
"""
|
||||
)
|
||||
|
||||
|
@ -887,8 +887,8 @@ class TestSplitFormWidget(PostgreSQLWidgetTestCase):
|
|||
'array', ['val1', 'val2'], attrs={'id': 'foo'},
|
||||
html=(
|
||||
"""
|
||||
<input id="foo_0" name="array_0" type="text" value="val1" />
|
||||
<input id="foo_1" name="array_1" type="text" value="val2" />
|
||||
<input id="foo_0" name="array_0" type="text" value="val1">
|
||||
<input id="foo_1" name="array_1" type="text" value="val2">
|
||||
"""
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue