1
0
Fork 0
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:
Frédéric Guillot 2022-07-31 17:23:58 -07:00
parent 071e9106a8
commit 13fa08ad39
2 changed files with 79 additions and 1 deletions

View file

@ -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)
}
}