forked from 00dani/lemoncurry
Add <cite> to ALLOWED_TAGS, because honestly
This commit is contained in:
parent
501c8c3ee3
commit
3e4f55fa9c
1 changed files with 1 additions and 1 deletions
|
@ -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'),
|
||||
|
|
Loading…
Reference in a new issue