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:
parent
64fa1aa8cf
commit
a4ebb33cd5
2 changed files with 65 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue