Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix html-proofer use in tests #887

Merged
merged 1 commit into from
Jul 19, 2022
Merged

Fix html-proofer use in tests #887

merged 1 commit into from
Jul 19, 2022

Conversation

Rylan12
Copy link
Member

@Rylan12 Rylan12 commented Jul 18, 2022

CI currently fails because of issues with html-parser since version 4 was released. I've updated the configuration to be as similar as possible. The main changes: I updated a few options that had been renamed. I removed some options that are now the default or have different functionality. I removed the check_html line since the HTML checks were completely removed and also removed the favicon option since I believe it is covered by including 'Favicon' in the list of checks.

I needed to set the allow_missing_href option since we have several <link> attributes without an href specified in the translation files. There may be a better way to fix this, but I don't know it off the top of my head.

Finally, I updated a few URLs to use https. However, I noticed that the URL http://serkan.io (the homepage for Serkan Yerşen, one of the translators for Turkish) doesn't seem to work for me regardless of whether I use http or https. I changed it anyway to pass the checks, though.

Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @Rylan12!

@MikeMcQuaid MikeMcQuaid merged commit 6cbade0 into Homebrew:master Jul 19, 2022
@Rylan12 Rylan12 deleted the fix-html-proofer branch July 20, 2022 15:23
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants