Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c4c0da004 | ||
|
|
e388723199 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -3,3 +3,5 @@ exec-rssmon3
|
||||
**.sw*
|
||||
**/testdata
|
||||
**/._*
|
||||
**/exec-*
|
||||
exec-*
|
||||
|
||||
@@ -47,6 +47,9 @@ func newItem(i *gofeed.Item, contentFilter string) (*Item, error) {
|
||||
}
|
||||
item.Content = string(b)
|
||||
}
|
||||
for _, enclosure := range i.Enclosures {
|
||||
item.Content += fmt.Sprintf(`<br><a href="%s">%s</a>`, enclosure.URL, enclosure.URL)
|
||||
}
|
||||
if unescaped, err := url.QueryUnescape(item.Content); err == nil {
|
||||
item.Content = unescaped
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user