fgdfg
This commit is contained in:
parent
450ac450aa
commit
84abaad632
2 changed files with 3 additions and 3 deletions
|
@ -735,7 +735,7 @@ def submit_post(v):
|
|||
options = []
|
||||
for i in re.finditer('\s*\$([^\$]+)\$\s*', body):
|
||||
options.append(i.group(1))
|
||||
body.replace(i.group(0), "")
|
||||
body = body.replace(i.group(0), "")
|
||||
|
||||
body_md = CustomRenderer().render(mistletoe.Document(body))
|
||||
body_html = sanitize(body_md)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue