From 4d3587362501527696d6f9cd02b184a3af2de63c Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Tue, 15 Oct 2024 17:54:54 +0200 Subject: [PATCH] Corrected error message for link check --- feed.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed.go b/feed.go index 8e6f53c..c24d843 100644 --- a/feed.go +++ b/feed.go @@ -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 {