raannakasturi commited on
Commit
39d927c
·
verified ·
1 Parent(s): 991bf51

Update post_blog.py

Browse files
Files changed (1) hide show
  1. post_blog.py +1 -1
post_blog.py CHANGED
@@ -95,7 +95,7 @@ def sanitize_citation(citation):
95
  def create_post(title, category, summary, mindmap, citation):
96
  post_title = title
97
  post_category = f"{category}"
98
- post_body, post_image = generate_post_html(title, summary, mindmap, category, sanitize_citation(citation))
99
  with open('post.html', 'w', encoding='utf-8') as f:
100
  f.write(post_body)
101
  return post_title, post_category, post_body, post_image
 
95
  def create_post(title, category, summary, mindmap, citation):
96
  post_title = title
97
  post_category = f"{category}"
98
+ post_body, post_image = generate_post_html(title, summary, mindmap, category, citation)
99
  with open('post.html', 'w', encoding='utf-8') as f:
100
  f.write(post_body)
101
  return post_title, post_category, post_body, post_image