forked from aim42/htmlSanityCheck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://github.com/aim42/htmlSanityCheck/issues/287
- Loading branch information
1 parent
9fb0684
commit 614b4c9
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
614b4c9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AllChecksRunnerTest#testSingleCorrectHTMLFile had problems with newer versions of Jsoup. Reason is, that the title-attribute should not be placed after the body-tag.
Clarification: https://www.w3schools.com/html/html_head.asp
The HTML <head> element is a container for the following elements: <title>.....
=> title should either be embedded within the head-tag or at least be placed before the body-tag.
Therefore the html-string has been adopted to meet the specs. Parsing with Jsoup succeeds afterwards.