Spaces:
Running
Running
luanpoppe
commited on
Commit
·
d598506
1
Parent(s):
2ee7c5e
fix
Browse files- _utils/utils.py +4 -0
_utils/utils.py
CHANGED
|
@@ -225,6 +225,10 @@ def convert_markdown_to_HTML(text: str):
|
|
| 225 |
.replace("<li><br></li>", "")
|
| 226 |
.replace("<li>", "<p>")
|
| 227 |
.replace("</li>", "</p>")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 228 |
)
|
| 229 |
return html
|
| 230 |
|
|
|
|
| 225 |
.replace("<li><br></li>", "")
|
| 226 |
.replace("<li>", "<p>")
|
| 227 |
.replace("</li>", "</p>")
|
| 228 |
+
.replace("<ul>", "<div>")
|
| 229 |
+
.replace("</ul>", "</div>")
|
| 230 |
+
.replace("<ol>", "<div>")
|
| 231 |
+
.replace("</ol>", "</div>")
|
| 232 |
)
|
| 233 |
return html
|
| 234 |
|