From c3f4ab86335e19e23649d3d4ff73bc9bf305478a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 9 Nov 2022 17:55:06 +0000 Subject: [PATCH] html sections within manual --- markdown.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/markdown.py b/markdown.py index 224910be9..f88494a9b 100644 --- a/markdown.py +++ b/markdown.py @@ -7,8 +7,6 @@ __email__ = "bob@libreserver.org" __status__ = "Production" __module_group__ = "Web Interface" -import urllib.parse - def _markdown_get_sections(markdown: str) -> []: """Returns a list of sections for markdown @@ -295,9 +293,7 @@ def _markdown_replace_code(markdown: str) -> str: if urlencode: lines[start_line] = '
'
                     lines[line_ctr] = '
' - for line_num in range(start_line + 1, line_ctr): - lines[line_num] = \ - urllib.parse.quote_plus(lines[line_num]) + section_active = False changed = True urlencode = False