1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Force an incomplete token for quoted attribute values when there's no end

This commit is contained in:
Jonas Fonseca 2006-01-28 00:56:48 +01:00 committed by Jonas Fonseca
parent a2376609e3
commit bccf5512d6

View File

@ -641,6 +641,10 @@ scan_sgml_element_token(struct dom_scanner *scanner, struct dom_scanner_token *t
/* We found the end. */
possibly_incomplete = 0;
} else if (scanner->check_complete && scanner->incomplete) {
/* Force an incomplete token. */
string = scanner->end;
} else if (is_sgml_attribute(*string)) {
token->string.string++;
scan_sgml_attribute(scanner, string);