Closed brianredbeard closed 3 years ago
Thanks for the excellent write-up! May be able to take a look hopefully in the next week.
@brianredbeard You were right, as ref isn't set by the time that issue is created document should have been used instead.
Describe the bug
When attempting to use
htmltest
to check a file I received the following output:Running this with increased logging allowed me to discover the affected files:
Versions
Adding
Document: document,
to the relevantAddIssue()
call in: https://github.com/wjdp/htmltest/blob/8fed7eab083e208dcf6d5788b847084d11c8b207/htmltest/check-meta.go#L34-L38Resolved the issue:
I doubt that this is the right answer (it seems through looking through the code that one chooses
Document
orReference
, but not both) but confirmed that it "works for me". My apologies, If i had the time to dig through theReference
mechanism to submit a "correct" fix I'd be all over it.