From f90dced705237cc25b7eae663f0a3ff0a7760e36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Sat, 19 Dec 2020 21:31:13 +0100 Subject: [PATCH] add
to allowed tags --- sdbs_pile/pile/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdbs_pile/pile/models.py b/sdbs_pile/pile/models.py index d7033df..52cf66f 100644 --- a/sdbs_pile/pile/models.py +++ b/sdbs_pile/pile/models.py @@ -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):