Skip to content

Conversation

@stevecheckoway
Copy link
Contributor

Named character references in attributes whose last character is not ;
and for which the next input character is = (or ASCII alphanumeric,
but this isn't tested here), flushes the code points consumed as a
character reference without adding a parse error.

Named character references not in attributes whose last character is not
; are errors, regardless of the following character as noted in the
#new-errors section but without an entry in #errors, the number of
errors are wrong. (See
#107).

Separately, this adds the missing expected-doctype-but-got-start-tag
error.

Named character references in attributes whose last character is not `;` and for which the next input character is `=` (or ASCII alphanumeric, but this isn't tested here), flushes the code points consumed as a character reference _without_ adding a parse error. Named character references not in attributes whose last character is not `;` are errors, regardless of the following character as noted in the `#new-errors` section but without an entry in `#errors`, the number of errors are wrong. (See html5lib#107). Separately, this adds the missing expected-doctype-but-got-start-tag error.
@stevecheckoway
Copy link
Contributor Author

Should the old error be a named-entity-without-semicolon instead of missing-semicolon-after-character-reference?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant