Enhance content parsing and metadata extraction in HTMLContentRenderer and ToggleTableRow

- Improved HTMLContentRenderer to better handle JSON content and extract HTML safely.
- Updated ToggleTableRow to robustly extract meta descriptions, including parsing potential JSON strings.
- Refactored Content page to conditionally display meta descriptions based on JSON parsing results, enhancing user experience.
This commit is contained in:
IGNY8 VPS (Salman)
2025-11-10 14:27:56 +00:00
parent 926ac150fd
commit e067dc759c
4 changed files with 87 additions and 28 deletions

View File

@@ -9,10 +9,6 @@ class Tasks(SiteSectorBaseModel):
STATUS_CHOICES = [
('queued', 'Queued'),
('in_progress', 'In Progress'),
('draft', 'Draft'),
('review', 'Review'),
('published', 'Published'),
('completed', 'Completed'),
]