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

38 lines
1.8 KiB
Plaintext

line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 6 column 4 - Warning: replacing unexpected b with </b>
line 6 column 30 - Warning: inserting implicit <font>
line 6 column 30 - Warning: missing </font> before <li>
line 7 column 1 - Warning: <li> isn't allowed in <body> elements
line 5 column 1 - Info: <body> previously mentioned
line 7 column 1 - Warning: inserting implicit <ul>
line 7 column 5 - Warning: inserting implicit <font>
line 8 column 5 - Warning: inserting implicit <font>
line 9 column 5 - Warning: inserting implicit <font>
line 10 column 1 - Warning: discarding unexpected </body>
line 11 column 1 - Warning: discarding unexpected </html>
line 7 column 1 - Warning: missing </ul>
line 6 column 30 - Warning: trimming empty <font>
Info: Document content looks like HTML5
Tidy found 13 warnings and 0 errors!
You are recommended to use CSS to specify the font and
properties such as its size and color. This will reduce
the size of HTML files and make them easier to maintain
compared with using <FONT> elements.
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