From 981b56c87dd5ff42593915e70389e802330883e1 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 20 Jul 2017 19:13:37 +0200 Subject: [PATCH] fix descriptions too --- oxdata/movie/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oxdata/movie/models.py b/oxdata/movie/models.py index 66dd61b..c0f1f8c 100644 --- a/oxdata/movie/models.py +++ b/oxdata/movie/models.py @@ -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):