mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
99107f2a1f
commit
96cda1b343
4
blog.py
4
blog.py
|
|
@ -222,8 +222,8 @@ def _html_blog_post_markdown(content: str) -> str:
|
||||||
ctr += 1
|
ctr += 1
|
||||||
continue
|
continue
|
||||||
if '<' in section:
|
if '<' in section:
|
||||||
section = section.replace('<', '</' + html_header + '><', 1)
|
section = '<' + html_header + '>' + \
|
||||||
section = '<' + html_header + '>' + section
|
section.replace('<', '</' + html_header + '><', 1)
|
||||||
else:
|
else:
|
||||||
section = markdown_text + section
|
section = markdown_text + section
|
||||||
new_content2 += section
|
new_content2 += section
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue