Spaces:
Running
Running
Update post_blog.py
Browse files- post_blog.py +1 -1
post_blog.py
CHANGED
@@ -17,7 +17,7 @@ def generate_post_html(doi, title, category, summary, mindmap, citation):
|
|
17 |
doi = doi.split("https://")[-1]
|
18 |
mindmap = mindmap.replace("{", r'{').replace("}", r'}')
|
19 |
citation = mistune.html(repr(citation.replace("&", "&").replace("```plaintext\n", "").replace("\n```", "").strip())[1:-1])
|
20 |
-
image = fetch_image(title, category, imgbb_api_key)
|
21 |
html_summary = mistune.html(summary)
|
22 |
post = f"""
|
23 |
<div id="paper_post">
|
|
|
17 |
doi = doi.split("https://")[-1]
|
18 |
mindmap = mindmap.replace("{", r'{').replace("}", r'}')
|
19 |
citation = mistune.html(repr(citation.replace("&", "&").replace("```plaintext\n", "").replace("\n```", "").strip())[1:-1])
|
20 |
+
image = fetch_image(title, category, summary, imgbb_api_key)
|
21 |
html_summary = mistune.html(summary)
|
22 |
post = f"""
|
23 |
<div id="paper_post">
|