Make allowed tags for nh3 a set

This commit is contained in:
Stefan Wehrmeyer 2025-06-25 10:05:22 +02:00
parent 3ca4fc247d
commit 9c325e70a8

View file

@ -12,7 +12,7 @@ from tinymce.widgets import TinyMCE
from .models import GovernmentPlan, GovernmentPlanUpdate, PlanRating, PlanStatus
ALLOWED_TAGS = [
ALLOWED_TAGS = {
"a",
"strong",
"b",
@ -26,7 +26,7 @@ ALLOWED_TAGS = [
"h4",
"h5",
"blockquote",
]
}
class BleachField(forms.CharField):