qingxu98 commited on
Commit
ccd8f6d
1 Parent(s): f2c192a

fix un-closed html error

Browse files
Files changed (1) hide show
  1. 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)}</span>'
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)