From 3e4f55fa9cad2f7b9e7b803e2f545f4dd446ad00 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 11 Jan 2018 11:41:36 +1100 Subject: [PATCH] Add to ALLOWED_TAGS, because honestly --- lemoncurry/templatetags/bleach.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemoncurry/templatetags/bleach.py b/lemoncurry/templatetags/bleach.py index 5fc9894..8de5338 100644 --- a/lemoncurry/templatetags/bleach.py +++ b/lemoncurry/templatetags/bleach.py @@ -5,7 +5,7 @@ from django.utils.safestring import mark_safe from bleach.sanitizer import Cleaner, ALLOWED_TAGS from bleach.linkifier import LinkifyFilter -tags = ['code', 'p', 'pre', 'img', 'span'] +tags = ['cite', 'code', 'p', 'pre', 'img', 'span'] tags.extend(ALLOWED_TAGS) attributes = { 'a': ('href', 'title', 'class'),