From 56c26e71711659d813a4a9adf882f7c0be014ad0 Mon Sep 17 00:00:00 2001 From: sasi Date: Wed, 24 Jul 2024 16:40:10 +0530 Subject: [PATCH] added ul tags for corretly render in FE --- v2_utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/v2_utils.py b/v2_utils.py index 4c1d89a..5537392 100644 --- a/v2_utils.py +++ b/v2_utils.py @@ -96,6 +96,10 @@ def remove_unmatched_tags(text): # Remove extra unmatched angle brackets cleaned_text = re.sub(r'>+', '>', cleaned_text) cleaned_text = re.sub(r'<+', '<', cleaned_text) + + #For front end renders add ul tags + if not cleaned_text.strip().startswith("