main
Bob Mottram 2025-12-07 17:11:26 +00:00
parent 99107f2a1f
commit 96cda1b343
1 changed files with 2 additions and 2 deletions

View File

@ -222,8 +222,8 @@ def _html_blog_post_markdown(content: str) -> str:
ctr += 1
continue
if '<' in section:
section = section.replace('<', '</' + html_header + '><', 1)
section = '<' + html_header + '>' + section
section = '<' + html_header + '>' + \
section.replace('<', '</' + html_header + '><', 1)
else:
section = markdown_text + section
new_content2 += section