add <hr> to allowed tags

This commit is contained in:
Tomáš Mládek 2020-12-19 21:31:13 +01:00
parent 1c0e4a07b5
commit f90dced705

View file

@ -7,7 +7,7 @@ from model_utils.managers import SoftDeletableManager, SoftDeletableQuerySet
from model_utils.models import SoftDeletableModel
from ordered_model.models import OrderedModel
BLEACH_ALLOWED_TAGS = bleach.sanitizer.ALLOWED_TAGS + ['p', 'br', 'h1', 'h2', 'h3']
BLEACH_ALLOWED_TAGS = bleach.sanitizer.ALLOWED_TAGS + ['p', 'br', 'h1', 'h2', 'h3', 'hr']
class Tag(SoftDeletableModel):