Missing character

main
Bob Mottram 2025-12-07 17:37:44 +00:00
parent 0c2b037ec7
commit 61b21a688e
1 changed files with 2 additions and 2 deletions

View File

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