raannakasturi commited on
Commit
5bb5491
·
verified ·
1 Parent(s): 704d4a1

Update post_blog.py

Browse files
Files changed (1) hide show
  1. 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("&amp;", "&").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">