fix descriptions too
This commit is contained in:
parent
6970cbd08e
commit
981b56c87d
1 changed files with 2 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue