-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix FAQPage schemas with empty answers
Some pages have adjacent h2 tags which means that we will be generating question and answer pairs that don't actually have an answer. (An answer in an FAQPage schema is the html that resides after an h2 tag, the "question" is the text of the h2 tag) An example page is https://www.gov.uk/check-a-university-is-officially-recognised/listed-bodies where there is an A-Z list with no content between the V and W h2 titles.
- Loading branch information
Showing
2 changed files
with
21 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