aboutsummaryrefslogtreecommitdiff
path: root/internal/reader/rewrite/rewrite_functions.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/reader/rewrite/rewrite_functions.go')
-rw-r--r--internal/reader/rewrite/rewrite_functions.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/reader/rewrite/rewrite_functions.go b/internal/reader/rewrite/rewrite_functions.go
index 122b2327..8b735661 100644
--- a/internal/reader/rewrite/rewrite_functions.go
+++ b/internal/reader/rewrite/rewrite_functions.go
@@ -302,7 +302,7 @@ func replaceTextLinks(input string) string {
}
func replaceLineFeeds(input string) string {
- return strings.Replace(input, "\n", "<br>", -1)
+ return strings.ReplaceAll(input, "\n", "<br>")
}
func replaceCustom(entryContent string, searchTerm string, replaceTerm string) string {