mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Add workaround for entry title with double encoded entities
Example: 'Text'
This commit is contained in:
parent
793f475edd
commit
5043749b9f
2 changed files with 49 additions and 2 deletions
|
@ -6,6 +6,7 @@ package rss // import "miniflux.app/reader/rss"
|
|||
|
||||
import (
|
||||
"encoding/xml"
|
||||
"html"
|
||||
"path"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
@ -257,7 +258,7 @@ func (r *rssItem) entryTitle() string {
|
|||
}
|
||||
}
|
||||
|
||||
return strings.TrimSpace(title)
|
||||
return html.UnescapeString(strings.TrimSpace(title))
|
||||
}
|
||||
|
||||
func (r *rssItem) entryContent() string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue