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:
parent
8028cc764f
commit
69aa650203
13 changed files with 74 additions and 32 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue