From b8a5ba568df552351191ff1c9aeff9f475bcf44b Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 7 Nov 2012 00:47:18 +0100 Subject: [PATCH] ass seriesYear, episodeDirector to hardcoded fields, fixes #971 --- pandora/item/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/models.py b/pandora/item/models.py index 85dd1eb5..2947423b 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -245,7 +245,7 @@ class Item(models.Model): self.data[key] = [ox.sanitize_html(t) for t in data[key]] elif ktype == '[string]': self.data[key] = [ox.escape_html(t) for t in data[key]] - elif key in ('episodeTitle', 'seriesTitle'): + elif key in ('episodeTitle', 'seriesTitle', 'episodeDirector', 'seriesYear'): self.data[key] = ox.escape_html(data[key]) elif isinstance(data[key], basestring): self.data[key] = ox.escape_html(data[key])