add <hr> to allowed tags
This commit is contained in:
parent
1c0e4a07b5
commit
f90dced705
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue