From 31017ab46d84e908390600e49c5717baccc78f8f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 9 Nov 2022 17:58:52 +0000 Subject: [PATCH] Code within pre --- markdown.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/markdown.py b/markdown.py index f88494a9b..87dffa990 100644 --- a/markdown.py +++ b/markdown.py @@ -291,8 +291,8 @@ def _markdown_replace_code(markdown: str) -> str: lines[start_line] = '' lines[line_ctr] = '' if urlencode: - lines[start_line] = '
'
-                    lines[line_ctr] = '
' + lines[start_line] = '
\n'
+                    lines[line_ctr] = '\n
' section_active = False changed = True