Make allowed tags for nh3 a set
This commit is contained in:
parent
3ca4fc247d
commit
9c325e70a8
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ from tinymce.widgets import TinyMCE
|
||||||
|
|
||||||
from .models import GovernmentPlan, GovernmentPlanUpdate, PlanRating, PlanStatus
|
from .models import GovernmentPlan, GovernmentPlanUpdate, PlanRating, PlanStatus
|
||||||
|
|
||||||
ALLOWED_TAGS = [
|
ALLOWED_TAGS = {
|
||||||
"a",
|
"a",
|
||||||
"strong",
|
"strong",
|
||||||
"b",
|
"b",
|
||||||
|
|
@ -26,7 +26,7 @@ ALLOWED_TAGS = [
|
||||||
"h4",
|
"h4",
|
||||||
"h5",
|
"h5",
|
||||||
"blockquote",
|
"blockquote",
|
||||||
]
|
}
|
||||||
|
|
||||||
|
|
||||||
class BleachField(forms.CharField):
|
class BleachField(forms.CharField):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue