diff --git a/markdown.py b/markdown.py index f64672a39..64b7676d4 100644 --- a/markdown.py +++ b/markdown.py @@ -280,7 +280,7 @@ def markdown_to_html(markdown: str) -> str: } for line in lines_list: if ctr > 0: - html_str += '
' + html_str += '
\n' # avoid code sections if not code_section: