From 3afaaa51aed35c8d3f63d1404ed7a5eed7d5bf5a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 7 Dec 2025 17:59:44 +0000 Subject: [PATCH] Fewer newlines --- blog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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