fix descriptions too

This commit is contained in:
j 2017-07-20 19:13:37 +02:00
parent 6970cbd08e
commit 981b56c87d
1 changed files with 2 additions and 0 deletions

View File

@ -200,6 +200,8 @@ class Imdb(models.Model):
for key in ('title', 'description'):
if key in c:
c[key] = ox.sanitize_html(fix_links(c[key]))
if key == 'description':
c[key] = fix_links(c[key])
return data
def info(self, key):