diff --git a/judge/feed.py b/judge/feed.py index d553d1b..c7fcb07 100644 --- a/judge/feed.py +++ b/judge/feed.py @@ -71,7 +71,7 @@ class CommentFeed(Feed): key = "comment_feed:%d" % comment.id desc = cache.get(key) if desc is None: - desc = str(markdown(comment.body, "comment")) + desc = str(markdown(comment.body)) desc = escape_xml_illegal_chars(desc) cache.set(key, desc, 86400) return desc @@ -104,7 +104,7 @@ class BlogFeed(Feed): key = "blog_feed:%d" % post.id summary = cache.get(key) if summary is None: - summary = str(markdown(post.summary or post.content, "blog")) + summary = str(markdown(post.summary or post.content)) summary = escape_xml_illegal_chars(summary) cache.set(key, summary, 86400) return summary