-
Notifications
You must be signed in to change notification settings - Fork 140
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
Make the types of HTML tag checked selectable and document that all are checked by default #749
Comments
In what way is this incorrect? All elements that can contain links are checked: linkchecker/linkcheck/htmlutil/linkparse.py Lines 29 to 39 in f744604
|
For me, as a normal web site user, a link is what I can click on an HTML page and that brings me to to a different page or an anchor on the same page (mostly How about adding the list with the tags to the man page to clarify what is tested:
Since this list very likely doesn't change frequently, it might be OK to simply copy/paste it to the docs. What would also be cool: If the user could pass an option with the list of tags to check to linkchecker. For example: |
link does actually mean the same to me. Just 20+ years of history to look after! And I don't think URLchecker would have been such a great name. I guess the intent was that every attribute that can take a URL is checked. Let's keep this ticket as a feature request. |
Summary
If a web site embeds an SVG image by using
<embed type="image/svg+xml" src="file.svg">
, linkchecker incorrectly interprets the file in "src" as a link.Steps to reproduce
linkchecker --recursion-level=1 https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/getting-started-with-tipc_configuring-and-managing-networking
Actual result
Expected result
Do not interpret
<embed type="image/svg+xml" src="images/TIPC-architectural-overview.svg">
as a link.Source code snippet of the example page mentioned above
Environment
The text was updated successfully, but these errors were encountered: