Corrected error message for link check
This commit is contained in:
parent
05cc967ea8
commit
4d35873625
2
feed.go
2
feed.go
@ -192,7 +192,7 @@ func (f *Feed) Check() error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if hasAlternateDuplicateLinks(f.Links) {
|
if hasAlternateDuplicateLinks(f.Links) {
|
||||||
return errors.New("duplicate links with with a rel attribute value of \"alternate\" found")
|
return errors.New("links with with a rel attribute value of \"alternate\" and duplicate type and hreflang attribute values found")
|
||||||
}
|
}
|
||||||
|
|
||||||
if f.Logo != nil {
|
if f.Logo != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user