mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
strip html from the author field (fix #351)
This commit is contained in:
@@ -42,6 +42,8 @@ public class FeedUpdateService {
|
||||
|
||||
FeedEntry update = null;
|
||||
if (existing == null) {
|
||||
entry.setAuthor(FeedUtils.truncate(FeedUtils.handleContent(
|
||||
entry.getAuthor(), feed.getLink(), true), 128));
|
||||
FeedEntryContent content = entry.getContent();
|
||||
content.setTitle(FeedUtils.truncate(FeedUtils.handleContent(
|
||||
content.getTitle(), feed.getLink(), true), 2048));
|
||||
@@ -70,5 +72,4 @@ public class FeedUpdateService {
|
||||
metricsBean.entryUpdated(statusUpdateList.size());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user