Fix bug
This commit is contained in:
parent
f768a20b97
commit
0eaffafc73
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ class ProblemFeed(Feed):
|
|||
key = "problem_feed:%d" % problem.id
|
||||
desc = cache.get(key)
|
||||
if desc is None:
|
||||
desc = str(markdown(problem.description, "problem"))[:500] + "..."
|
||||
desc = str(markdown(problem.description))[:500] + "..."
|
||||
desc = escape_xml_illegal_chars(desc)
|
||||
cache.set(key, desc, 86400)
|
||||
return desc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue