diff --git a/blog.py b/blog.py index 8af540d80..205ae3220 100644 --- a/blog.py +++ b/blog.py @@ -226,7 +226,7 @@ def html_blog_post_markdown(content: str) -> str: section.replace('<', '<', 1) elif '\n' in section: section = '><' + html_header + '>' + \ - section.replace('\n', '\n', 1) + section.replace('\n', '', 1) else: section = markdown_text + section new_content2 += section