From: #1 (comment) (I put this here, because IMHO it's not related to the other issues)
parse_html('<input value="Foo" type="text" name="first_name"></input>')
would produce a error:
AssertionError: html code is not valid: Unexpected end tag `input` (Line 1, Column 49), at line 1, column 50 - code: '<input value="Foo" type="text" name="first_name"></input>'
Think it's something around
|
if tag not in self.SELF_CLOSING_TAGS: |
:
def handle_startendtag(self, tag, attrs):
self.handle_starttag(tag, attrs)
From: #1 (comment) (I put this here, because IMHO it's not related to the other issues)
would produce a error:
Think it's something around
django/django/test/html.py
Line 171 in 46397d9