1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

Regression: ensure all HTML documents are encoded in UTF-8

Fixes #2196
This commit is contained in:
Frédéric Guillot 2023-12-01 16:27:18 -08:00
parent f8b40085cd
commit d0f99cee1a
12 changed files with 68 additions and 36 deletions

View file

@ -30,7 +30,7 @@ func DetectFeedFormat(r io.ReadSeeker) string {
}
r.Seek(0, io.SeekStart)
decoder := rxml.NewDecoder(r)
decoder := rxml.NewXMLDecoder(r)
for {
token, _ := decoder.Token()