diff --git a/apps/rss_feeds/models.py b/apps/rss_feeds/models.py index b952ad4ee7..819c12c87b 100644 --- a/apps/rss_feeds/models.py +++ b/apps/rss_feeds/models.py @@ -36,7 +36,7 @@ from utils.feed_functions import timelimit, TimeoutError from utils.feed_functions import relative_timesince from utils.feed_functions import seconds_timesince -from utils.story_functions import strip_tags, htmldiff, strip_comments +from utils.story_functions import strip_tags, htmldiff, strip_comments__lxml from vendor.redis_completion.engine import RedisEngine ENTRY_NEW, ENTRY_UPDATED, ENTRY_SAME, ENTRY_ERR = range(4) @@ -852,7 +852,7 @@ def add_update_stories(self, stories, existing_stories, verbose=False): continue story_content = story.get('story_content') - story_content = strip_comments(story_content) + story_content = strip_comments__lxml(story_content) story_tags = self.get_tags(story) story_link = self.get_permalink(story)