1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-02 16:38:37 +00:00

Add rewrite rule to use noscript content for images rendered with Javascript

This commit is contained in:
Frédéric Guillot 2020-10-19 21:04:14 -07:00 committed by Frédéric Guillot
parent 5ed1d7537a
commit b50778d3eb
3 changed files with 49 additions and 1 deletions

View file

@ -45,6 +45,8 @@ func Rewriter(entryURL, entryContent, customRewriteRules string) string {
entryContent = replaceTextLinks(entryContent)
case "fix_medium_images":
entryContent = fixMediumImages(entryURL, entryContent)
case "use_noscript_figure_images":
entryContent = useNoScriptImages(entryURL, entryContent)
}
}