mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Do not strip tags for entry title
Some technical blogs have titles like "</some-title>" or "This is some <code>source code</code>". Miniflux was removing these elements which prevent rendering the title correctly.
This commit is contained in:
parent
f0610bdd9c
commit
291bf96d15
7 changed files with 62 additions and 16 deletions
|
@ -15,7 +15,6 @@ import (
|
|||
"miniflux.app/model"
|
||||
"miniflux.app/reader/date"
|
||||
"miniflux.app/reader/media"
|
||||
"miniflux.app/reader/sanitizer"
|
||||
"miniflux.app/url"
|
||||
)
|
||||
|
||||
|
@ -100,7 +99,7 @@ func (a *atom10Entry) Transform() *model.Entry {
|
|||
}
|
||||
|
||||
func (a *atom10Entry) entryTitle() string {
|
||||
return sanitizer.StripTags(a.Title.String())
|
||||
return a.Title.String()
|
||||
}
|
||||
|
||||
func (a *atom10Entry) entryContent() string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue