tidy-html5/regression_testing/cases/github-expects/case-525.txt
Jim Derry 1ca8e210c8 Fixes #525.
Naked groups of LI in HTML5 mode will now have an inferred UL applied to
them consistent with HTML4 and earlier modes.

Test case added.

Note that three regressions were updated in favor of this corrected behavior.
2021-08-17 12:34:43 -04:00

20 lines
1,009 B
Plaintext

line 12 column 1 - Warning: <li> isn't allowed in <body> elements
line 10 column 1 - Info: <body> previously mentioned
line 12 column 1 - Warning: inserting implicit <ul>
line 24 column 1 - Warning: discarding unexpected </body>
line 25 column 1 - Warning: discarding unexpected </html>
line 12 column 1 - Warning: missing </ul>
Info: Document content looks like HTML5
Tidy found 5 warnings and 0 errors!
About HTML Tidy: https://github.com/htacg/tidy-html5
Bug reports and comments: https://github.com/htacg/tidy-html5/issues
Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/
Latest HTML specification: https://html.spec.whatwg.org/multipage/
Validate your HTML documents: https://validator.w3.org/nu/
Lobby your company to join the W3C: https://www.w3.org/Consortium
Do you speak a language other than English, or a different variant of
English? Consider helping us to localize HTML Tidy. For details please see
https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md