fix links in connection description
This commit is contained in:
parent
a89d3e9359
commit
8b5c0ed193
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ class Imdb(models.Model):
|
||||||
for c in data['connections'][type]:
|
for c in data['connections'][type]:
|
||||||
for key in ('title', 'description'):
|
for key in ('title', 'description'):
|
||||||
if key in c:
|
if key in c:
|
||||||
c[key] = ox.sanitize_html(c[key])
|
c[key] = ox.sanitize_html(fix_links(c[key]))
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def info(self, key):
|
def info(self, key):
|
||||||
|
|
Loading…
Reference in a new issue