1
0
Fork 0
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:
Axel Verhaeghe 2025-09-29 22:34:54 +02:00
parent e279b955c4
commit a8d539ec62
3 changed files with 205 additions and 0 deletions

View file

@ -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)
}
}