Skip to content

Instantly share code, notes, and snippets.

@cocopon
Last active October 26, 2016 03:33
Show Gist options
  • Save cocopon/b2b37e83922a72e809fac5623d1a0190 to your computer and use it in GitHub Desktop.
Save cocopon/b2b37e83922a72e809fac5623d1a0190 to your computer and use it in GitHub Desktop.
HTML file that causes an error with AtomLinter/linter-tidy
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<div>
foobar
</p>
</body>
</html>
@cocopon
Copy link
Author

cocopon commented Oct 26, 2016

Error message by html-tidy (HTML Tidy for Mac OS X version 5.2.0):

line 10 column 9 - Warning: inserting implicit <p>
line 8 column 9 - Warning: missing </div>
line 10 column 9 - Warning: trimming empty <p>
Info: Document content looks like HTML5
Tidy found 3 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: http://dev.w3.org/html5/spec-author-view/
Validate your HTML documents: http://validator.w3.org/nu/
Lobby your company to join the W3C: http://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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment