fdfd
This commit is contained in:
parent
9424d8c2a5
commit
4975a79694
2 changed files with 4 additions and 2 deletions
|
@ -179,7 +179,7 @@ def api_comment(v):
|
|||
file.save(name)
|
||||
url = request.host_url[:-1] + process_image(name)
|
||||
|
||||
body += f"\n"
|
||||
body += f"\n\n"
|
||||
|
||||
body_html = sanitize(CustomRenderer().render(mistletoe.Document(body)))
|
||||
|
||||
|
@ -673,7 +673,7 @@ def edit_comment(cid, v):
|
|||
file.save(name)
|
||||
url = request.host_url[:-1] + process_image(name)
|
||||
|
||||
body += f"\n"
|
||||
body += f"\n\n"
|
||||
body_md = CustomRenderer().render(mistletoe.Document(body))
|
||||
body_html = sanitize(body_md)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue