validator / htmlparser

The Validator.nu HTML parser https://about.validator.nu/htmlparser/
Other
56 stars 26 forks source link

Drop parse error for missing </caption> end tag #5

Closed sideshowbarker closed 4 years ago

sideshowbarker commented 6 years ago

See https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-incaption:stack-of-open-elements-2 The parse error for this case was dropped from the spec in https://github.com/whatwg/html/commit/759ee62

Relates to https://github.com/validator/validator/issues/593 and https://bugzilla.mozilla.org/show_bug.cgi?id=1429415

sideshowbarker commented 4 years ago

Fixed in https://github.com/validator/htmlparser/commit/7583e1ced299e7d84f49de34a5d9744b6760e5d6