Spaces:
Sleeping
Sleeping
fix un-closed html error
Browse files- modules/utils.py +1 -1
modules/utils.py
CHANGED
@@ -183,7 +183,7 @@ def convert_mdtext(md_text):
|
|
183 |
non_code_parts = code_block_pattern.split(md_text)[::2]
|
184 |
|
185 |
result = []
|
186 |
-
raw = f'<div class="raw-message hideM">{html.escape(md_text)}</
|
187 |
for non_code, code in zip(non_code_parts, code_blocks + [""]):
|
188 |
if non_code.strip():
|
189 |
non_code = normalize_markdown(non_code)
|
|
|
183 |
non_code_parts = code_block_pattern.split(md_text)[::2]
|
184 |
|
185 |
result = []
|
186 |
+
raw = f'<div class="raw-message hideM">{html.escape(md_text)}</div>'
|
187 |
for non_code, code in zip(non_code_parts, code_blocks + [""]):
|
188 |
if non_code.strip():
|
189 |
non_code = normalize_markdown(non_code)
|