main
Bob Mottram 2025-12-07 17:44:17 +00:00
parent 7aaeb0d797
commit 9ced39ef81
1 changed files with 2 additions and 2 deletions

View File

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