diff --git a/feed.go b/feed.go index b4463fd..c492c2c 100644 --- a/feed.go +++ b/feed.go @@ -161,10 +161,6 @@ func (f *Feed) AddExtension(name string, value any) { } func (f *Feed) ToXML(encoding string) (string, error) { - if err := f.Check(); err != nil { - return "", fmt.Errorf("error checking feed: %v", err) - } - xml, err := xml.MarshalIndent(f, "", " ") if err != nil { return "", fmt.Errorf("error xml encoding feed: %v", err)