1
0
Fork 0
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:
Frédéric Guillot 2021-02-14 11:09:06 -08:00 committed by fguillot
parent 6b7ffe0e26
commit 04f9c456d5
2 changed files with 55 additions and 2 deletions

View file

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