Corrected error message for link check

This commit is contained in:
Jason Streifling 2024-10-15 17:54:54 +02:00
parent 05cc967ea8
commit 4d35873625

View File

@ -192,7 +192,7 @@ func (f *Feed) Check() error {
}
}
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 {