aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader/processor
diff options
context:
space:
mode:
authorGravatar dzaikos <you@example.com>2018-07-06 00:17:03 -0400
committerGravatar dzaikos <you@example.com>2018-07-06 00:17:07 -0400
commite1c56b2e53ba3c6f48d5e159d18ae59c180cc388 (patch)
treed7194e2ae9dcf8db4ec6ae8d0af478a48aff0108 /reader/processor
parent845cf2adba92dc3b646f1e33117c032625ae411a (diff)
Processor: Do rewriter before sanitizer for `entry.Content`.
Addresses #163.
Diffstat (limited to 'reader/processor')
-rw-r--r--reader/processor/processor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/reader/processor/processor.go b/reader/processor/processor.go
index ca04603..eacce9f 100644
--- a/reader/processor/processor.go
+++ b/reader/processor/processor.go
@@ -54,8 +54,8 @@ func (f *FeedProcessor) Process() {
}
}
- entry.Content = sanitizer.Sanitize(entry.URL, entry.Content)
entry.Content = rewrite.Rewriter(entry.URL, entry.Content, f.rewriteRules)
+ entry.Content = sanitizer.Sanitize(entry.URL, entry.Content)
}
}