1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

Add the possibility to add rules during feed creation

This commit is contained in:
Frédéric Guillot 2019-11-29 11:17:14 -08:00
parent 8028cc764f
commit 69aa650203
13 changed files with 74 additions and 32 deletions

View file

@ -37,7 +37,7 @@ func Rewriter(entryURL, entryContent, customRewriteRules string) string {
entryContent = addPDFLink(entryURL, entryContent)
case "nl2br":
entryContent = replaceLineFeeds(entryContent)
case "convert_text_link":
case "convert_text_link", "convert_text_links":
entryContent = replaceTextLinks(entryContent)
}
}