mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Handle entry title with double encoded entities in Atom feeds
This commit is contained in:
parent
6b7ffe0e26
commit
04f9c456d5
2 changed files with 55 additions and 2 deletions
|
@ -6,6 +6,7 @@ package atom // import "miniflux.app/reader/atom"
|
|||
|
||||
import (
|
||||
"encoding/xml"
|
||||
"html"
|
||||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
|
@ -235,5 +236,5 @@ func (a *atom10Text) String() string {
|
|||
content = a.Data
|
||||
}
|
||||
|
||||
return strings.TrimSpace(content)
|
||||
return html.UnescapeString(strings.TrimSpace(content))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue