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

40 lines
1.9 KiB
Plaintext

line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 4 column 1 - Warning: inserting implicit <body>
line 4 column 1 - Warning: <li> isn't allowed in <body> elements
line 4 column 1 - Info: <body> previously mentioned
line 4 column 1 - Warning: inserting implicit <ul>
line 4 column 39 - Warning: missing </b> before <p>
line 6 column 9 - Warning: inserting implicit <b>
line 6 column 9 - Warning: missing </b> before <li>
line 7 column 5 - Warning: inserting implicit <b>
line 7 column 5 - Warning: missing </b> before <p>
line 7 column 8 - Warning: inserting implicit <b>
line 7 column 8 - Warning: nested emphasis <b>
line 7 column 8 - Warning: missing </b> before <p>
line 7 column 8 - Warning: missing </b> before <p>
line 4 column 1 - Warning: missing </ul>
line 4 column 1 - Warning: trimming empty <li>
line 6 column 9 - Warning: trimming empty <b>
line 6 column 6 - Warning: trimming empty <p>
line 7 column 5 - Warning: trimming empty <b>
line 7 column 1 - Warning: trimming empty <li>
line 8 column 35 - Warning: trimming empty <p>
Info: Document content looks like HTML5
Tidy found 20 warnings and 0 errors!
One or more empty elements were present in the source document but
dropped on output. If these elements are necessary or you don't want
this behavior, then consider setting the option "drop-empty-elements"
to no.
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