mirror of
https://github.com/miniflux/v2.git
synced 2025-10-15 19:42:07 +00:00
feat(reader): add content rewrite rule to strip query params from blurry placeholder images
This commit is contained in:
parent
e279b955c4
commit
a8d539ec62
3 changed files with 205 additions and 0 deletions
|
@ -94,6 +94,8 @@ func (rule rule) applyRule(entryURL string, entry *model.Entry) {
|
|||
entry.Title = titlelize(entry.Title)
|
||||
case "fix_ghost_cards":
|
||||
entry.Content = fixGhostCards(entry.Content)
|
||||
case "strip_image_query_params":
|
||||
entry.Content = stripImageQueryParams(entry.Content)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue