From d29293b033c20f80be8e8ba2c272770f04bc2a2e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 27 Jun 2022 12:18:34 +0100 Subject: [PATCH] Line breaks for view source --- markdown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: