tidy-html5/regression_testing/cases/legacy-expects/case-1410061a.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

41 lines
2.2 KiB
Plaintext

line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 6 column 319 - Warning: <li> isn't allowed in <body> elements
line 5 column 1 - Info: <body> previously mentioned
line 6 column 319 - Warning: inserting implicit <ul>
line 6 column 319 - Info: missing optional end tag </li>
line 6 column 378 - Info: missing optional end tag </li>
line 6 column 412 - Info: missing optional end tag </li>
line 6 column 456 - Info: missing optional end tag </li>
line 6 column 519 - Info: missing optional end tag </li>
line 6 column 574 - Info: missing optional end tag </li>
line 6 column 665 - Info: missing optional end tag </li>
line 6 column 690 - Info: missing optional end tag </li>
line 6 column 754 - Info: missing optional end tag </li>
line 6 column 842 - Info: missing optional end tag </li>
line 6 column 1041 - Warning: discarding unexpected </li>
line 6 column 1046 - Warning: discarding unexpected </li>
line 6 column 1051 - Warning: discarding unexpected </li>
line 6 column 1056 - Warning: discarding unexpected </li>
line 6 column 1061 - Warning: discarding unexpected </li>
line 6 column 1066 - Warning: discarding unexpected </li>
line 6 column 1071 - Warning: discarding unexpected </li>
line 6 column 1076 - Warning: discarding unexpected </li>
line 6 column 1081 - Warning: discarding unexpected </li>
line 6 column 1086 - Warning: discarding unexpected </li>
line 7 column 1 - Warning: discarding unexpected </body>
line 8 column 1 - Warning: discarding unexpected </html>
line 6 column 319 - Warning: missing </ul>
Info: Document content looks like HTML5
Tidy found 16 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