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

SVG use hrefs should not be checked #1592

Closed
grahamc opened this issue Dec 18, 2024 · 1 comment
Closed

SVG use hrefs should not be checked #1592

grahamc opened this issue Dec 18, 2024 · 1 comment

Comments

@grahamc
Copy link

grahamc commented Dec 18, 2024

Our website has a bunch of SVGs, which define a symbol and then uses that symbol with the use tag:

<svg data-icon="radix-icons:external-link">
   <symbol id="ai:radix-icons:external-link">
   <use href="#ai:radix-icons:external-link"></use>
</svg>

We then get dozens to hundreds of these errors on every page:

   [ERROR] file:///Users/grahamc/src/github.com/DeterminateSystems/website/dist/%23ai:radix-icons:external-link | Cannot find file

This is true on Lychee 0.17.0 and 0.18.0. Lychee should not check URLs it finds in <use href ..>.

@grahamc
Copy link
Author

grahamc commented Dec 18, 2024

Not an issue on v0.16.0, which suggests to me it is a duplicate of #1457, #1577, #1574.

@grahamc grahamc closed this as completed Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant