Skip to content

Commit

Permalink
Add Custom to use field name not just lower case (#194)
Browse files Browse the repository at this point in the history
Co-authored-by: anthony lock <anthony.lock@platformmedia.uk>
  • Loading branch information
anthonyLock and anthony lock authored Jan 28, 2023
1 parent 7c163b1 commit 26a6aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rss/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ func (rp *Parser) parseItem(p *xpp.XMLPullParser) (item *Item, err error) {
if item.Custom == nil {
item.Custom = make(map[string]string, 0)
}
item.Custom[name] = result
item.Custom[p.Name] = result
}
}
}
Expand Down

0 comments on commit 26a6aec

Please sign in to comment.