Line break for view source

main
Bob Mottram 2022-06-27 12:45:45 +01:00
parent 6b55cafed6
commit 9d79a763a1
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ def markdown_to_html(markdown: str) -> str:
for hsh, hashes in titles.items():
if line.startswith(hashes):
line = line.replace(hashes, '').strip()
line = '<' + hsh + '>' + line + '</' + hsh + '>'
line = '<' + hsh + '>' + line + '</' + hsh + '>\n'
ctr = -1
break
html_str += line