We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c385f15 + 56c26e7 commit 9e63e33Copy full SHA for 9e63e33
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