diff --git a/blog.py b/blog.py index ab044246e..ea527e3e0 100644 --- a/blog.py +++ b/blog.py @@ -222,9 +222,9 @@ def html_blog_post_markdown(content: str) -> str: ctr += 1 continue if '<' in section: - section = '>' + section.replace('<', '<', 1) + section = '>' + section.replace('<', '<', 1) elif '\n' in section: - section = '>' + section.replace('\n', '\n', 1) + section = '>' + section.replace('\n', '\n', 1) else: section = markdown_text + section new_content2 += section