decode html entities in title/director, fixes #1442
This commit is contained in:
parent
31834c808a
commit
7667cb677e
1 changed files with 5 additions and 1 deletions
|
@ -1166,8 +1166,12 @@ class Item(models.Model):
|
|||
timeline = '%stimelineantialias64p.jpg' % self.timeline_prefix
|
||||
|
||||
director = u', '.join(self.get('director', []))
|
||||
director = ox.decode_html(director)
|
||||
title = self.get('title', '')
|
||||
title = ox.decode_html(title)
|
||||
|
||||
cmd = [settings.ITEM_POSTER,
|
||||
'-t', self.get('title', '').encode('utf-8'),
|
||||
'-t', title.encode('utf-8'),
|
||||
'-y', str(self.get('year', '')),
|
||||
'-p', poster
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue