Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/api/plane/utils/content_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def validate_html_content(html_content):
try:
# Count opening and closing tags for basic structure validation
opening_tags = re.findall(r"<(\w+)[^>]*>", html_content)
closing_tags = re.findall(r"</(\w+)>", html_content)
closing_tags = re.findall(r"</([\w-]+)>", html_content)

# Filter out self-closing tags from opening tags
opening_tags_filtered = [
Expand Down