mirror of
https://github.com/miniflux/v2.git
synced 2025-08-11 17:51:01 +00:00
Handle Atom links with a text/html type defined
This commit is contained in:
parent
071e9106a8
commit
13fa08ad39
2 changed files with 79 additions and 1 deletions
|
@ -51,7 +51,7 @@ func (a atomLinks) originalLink() string {
|
|||
return strings.TrimSpace(link.URL)
|
||||
}
|
||||
|
||||
if link.Rel == "" && link.Type == "" {
|
||||
if link.Rel == "" && (link.Type == "" || link.Type == "text/html") {
|
||||
return strings.TrimSpace(link.URL)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue