Skip to content

Commit

Permalink
Description text formatting - SPWS01-76
Browse files Browse the repository at this point in the history
  • Loading branch information
neerajdarwin committed Jul 9, 2024
1 parent 4e9158c commit 3e7a3b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProjectApplication/project_core/forms/call.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def clean_introductory_message(self):
data = self.cleaned_data['introductory_message']

# Define the allowed tags and attributes
allowed_tags = bleach.ALLOWED_TAGS + ['p', 'strong', 'em', 'ul', 'li', 'ol', 'a', 'br']
allowed_tags = bleach.ALLOWED_TAGS + ['p', 'strong', 'em', 'ul', 'li', 'ol', 'a', 'br','h1','h2', 'h3', 'h4', 'h5', 'h6', 'u']
allowed_attributes = bleach.ALLOWED_ATTRIBUTES
allowed_attributes.update({
'a': ['href', 'title'],
Expand Down

0 comments on commit 3e7a3b7

Please sign in to comment.