From 96cda1b343fd9e5818974e6c2599fcea7bbc5de5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 7 Dec 2025 17:11:26 +0000 Subject: [PATCH] Tidying --- blog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blog.py b/blog.py index 1d97b7001..0e86ecd70 100644 --- a/blog.py +++ b/blog.py @@ -222,8 +222,8 @@ def _html_blog_post_markdown(content: str) -> str: ctr += 1 continue if '<' in section: - section = section.replace('<', '<', 1) - section = '<' + html_header + '>' + section + section = '<' + html_header + '>' + \ + section.replace('<', '<', 1) else: section = markdown_text + section new_content2 += section