Skip to content

Commit

Permalink
mmcdole#151: Disable extension support for channels
Browse files Browse the repository at this point in the history
  • Loading branch information
Necoro committed Jul 10, 2024
1 parent 247a5c5 commit d7dda83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rss/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ func (rp *Parser) parseChannel(p *xpp.XMLPullParser) (rss *Feed, err error) {
name := strings.ToLower(p.Name)

if shared.IsExtension(p, rp.extParsers) {
ext, err := shared.ParseExtension(extensions, p, rp.extParsers)
// TODO: Currently no extParser support for channels
ext, err := shared.ParseExtension(extensions, p, make(shared.ExtParsers))
if err != nil {
return nil, err
}
Expand Down

0 comments on commit d7dda83

Please sign in to comment.