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

opening and ending tag mismatch "link" != "head" #10586

Closed
ReenigneArcher opened this issue Oct 5, 2024 · 4 comments · Fixed by #10607
Closed

opening and ending tag mismatch "link" != "head" #10586

ReenigneArcher opened this issue Oct 5, 2024 · 4 comments · Fixed by #10607
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas

Comments

@ReenigneArcher ReenigneArcher added the question Support questions, usage questions, unconfirmed bugs, discussions, ideas label Oct 5, 2024
Copy link
Contributor

github-actions bot commented Oct 5, 2024

Badge tested using npm run badge https://img.shields.io/badge/dynamic/xml.svg?color=orange&label=chocolatey&style=for-the-badge&prefix=v&query=%2F%2Ftr%5B%40id%3D%27chocolatey%27%5D%2Ftd%5B3%5D%2Fspan%2Fa&url=https%3A%2F%2Frepology.org%2Fproject%2Fsunshine%2Fversions&logo=chocolatey
Output is available here

@chris48s
Copy link
Member

chris48s commented Oct 8, 2024

Couple of follow-ups:

  1. Are these badges that worked in the past but started failing recently-ish?
  2. Fundamentally, the document you're trying to parse here is HTML not XML, right?

I reckon we might have our first example of something broken by #10481 (comment)

Just having a quick look at the response from https://repology.org/project/sunshine/versions I think it would be reasonable to parse in HTML mode if the document has

content-type: text/html

in the response headers.

@ReenigneArcher
Copy link
Author

  1. Yes, they used to work
  2. Correct, it's html

@ReenigneArcher
Copy link
Author

Confirming these are working again, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants