1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

Trim spaces for RDF entry links

This commit is contained in:
Frédéric Guillot 2019-12-01 14:58:07 -08:00
parent 64fa1aa8cf
commit a4ebb33cd5
2 changed files with 65 additions and 1 deletions

View file

@ -63,7 +63,7 @@ func (r *rdfItem) Transform() *model.Entry {
entry := new(model.Entry)
entry.Title = strings.TrimSpace(r.Title)
entry.Author = strings.TrimSpace(r.Creator)
entry.URL = r.Link
entry.URL = strings.TrimSpace(r.Link)
entry.Content = r.Description
entry.Hash = getHash(r)
entry.Date = getDate(r)