We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca8b54a commit 56c26e7Copy full SHA for 56c26e7
1 file changed
v2_utils.py
@@ -96,6 +96,10 @@ def remove_unmatched_tags(text):
96
# Remove extra unmatched angle brackets
97
cleaned_text = re.sub(r'>+', '>', cleaned_text)
98
cleaned_text = re.sub(r'<+', '<', cleaned_text)
99
+
100
+ #For front end renders add ul tags
101
+ if not cleaned_text.strip().startswith("<ul>"):
102
+ return f"<ul>{text}</ul>"
103
104
return cleaned_text
105
0 commit comments