aboutsummaryrefslogtreecommitdiff
path: root/feedgetter.py
diff options
context:
space:
mode:
Diffstat (limited to 'feedgetter.py')
-rwxr-xr-xfeedgetter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/feedgetter.py b/feedgetter.py
index 70883ed5..3dbe2e4c 100755
--- a/feedgetter.py
+++ b/feedgetter.py
@@ -100,7 +100,7 @@ class FeedGetter(object):
feed_image = "/css/img/feed-icon-28x28.png"
try:
self.c.execute('insert into feeds values (?,?,?,?,?)', (\
- a_feed.feed.title.encode('utf-8'), \
+ utils.remove_html_tags(a_feed.feed.title.encode('utf-8')), \
a_feed.feed.link.encode('utf-8'), \
feed_link, \
feed_image,
@@ -117,7 +117,7 @@ class FeedGetter(object):
try:
self.c.execute('insert into articles values (?,?,?,?,?,?)', (\
datetime(*article.updated_parsed[:6]), \
- article.title.encode('utf-8'), \
+ utils.remove_html_tags(article.title.encode('utf-8')), \
article.link.encode('utf-8'), \
description, \
"0", \
bgstack15