mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
feat: add fix_ghost_cards
rewrite rule
This commit is contained in:
parent
1e54a073d3
commit
6cbe8c3a9d
3 changed files with 282 additions and 0 deletions
|
@ -92,6 +92,8 @@ func (rule rule) applyRule(entryURL string, entry *model.Entry) {
|
|||
entry.Content = removeTables(entry.Content)
|
||||
case "remove_clickbait":
|
||||
entry.Title = titlelize(entry.Title)
|
||||
case "fix_ghost_cards":
|
||||
entry.Content = fixGhostCards(entry.Content)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue