You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to use htmltest to check a file I received the following output:
$ htmltest
htmltest started at 11:49:49 on public
========================================================================
url in meta refresh must not start with single or double quote
url in meta refresh must not start with single or double quote
========================================================================
✘✘✘ failed in 9.020445ms
2 errors in 25 documents
Running this with increased logging allowed me to discover the affected files:
testDocument on media/video/index.html
url in meta refresh must not start with single or double quote
media/video/index.html
...
testDocument on media/photo/index.html
url in meta refresh must not start with single or double quote
media/photo/index.html
Versions
OS: Fedora 31
htmltest: 0.11.0
Adding Document: document, to the relevant AddIssue() call in:
Message: "url in meta refresh must not start with single or double quote",
Reference: ref,
})
Resolved the issue:
$ ~/Projects/golang/src/github.com/wjdp/htmltest/bin/htmltest
htmltest started at 11:55:52 on public
========================================================================
media/video/index.html
url in meta refresh must not start with single or double quote --- media/video/index.html --> <nil>
media/photo/index.html
url in meta refresh must not start with single or double quote --- media/photo/index.html --> <nil>
========================================================================
✘✘✘ failed in 22.497733ms
2 errors in 25 documents
I doubt that this is the right answer (it seems through looking through the code that one chooses Document or Reference, but not both) but confirmed that it "works for me". My apologies, If i had the time to dig through the Reference mechanism to submit a "correct" fix I'd be all over it.
The text was updated successfully, but these errors were encountered:
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:htmltest/htmltest/check-meta.go
Lines 34 to 38 in 8fed7ea
Resolved 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.The text was updated successfully, but these errors were encountered: