Processor: Do rewriter before sanitizer for `entry.Content`.

Addresses #163.
This commit is contained in:
dzaikos 2018-07-06 00:17:03 -04:00
parent 845cf2adba
commit e1c56b2e53
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}