-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Distinguish between missing and empty attributes #160
Comments
Yes, I think so. Many times I've seen people add placeholder In this case, I'd suggest one of two things:
Let me know how it goes! |
Is it possible to pass in that I tried
|
|
Could you try one of the following
That should work:
If not, hey presto, probably a bug. |
The first one does something odd. The second one has no effect.
|
I don't know what your output looks like, so that might not be so odd after all:
|
You can see my output published on https://halcyon.sh. 199 external links sounds about right. |
My suspicion is that there are, indeed, 199 Internal hrefs are not presented as part of the original run summary:
|
I’m pretty sure there’s more than one external link, though. Here’s one try at the non-unique link count:
Full output: |
Would it be possible to get me a raw dump of the HTML? I would prefer not to crawl the One thing I forgot to mention is that once a link is checked, it's marked as successful. So, for example, although there are 11 I'm wondering here if the count is off in the messaging (likely) or if it's really missing the hrefs (less likely). |
😻 Thank you! I'll get a fix pushed out later if there is a problem. |
Can you grab 2.0.3? I tried the following command and everything worked like a charm:
Sorry for all the trouble. |
Works perfectly for all my sites. Thank you very much. |
Currently, the error
anchor has no href attribute
is triggered both when a tag is missing thehref
attribute, and when thehref
attribute is empty:My projects use empty
href
attributes for JS-only navigation buttons. Should using an emptyhref
attribute trigger an error?The text was updated successfully, but these errors were encountered: