diff --git a/modules/html_generator.py b/modules/html_generator.py index f31bdca..2da2793 100644 --- a/modules/html_generator.py +++ b/modules/html_generator.py @@ -71,10 +71,9 @@ def convert_to_markdown(string): else: result += '\n\n' - if is_code: - result = result + '```' # Unfinished code block - result = result.strip() + if is_code: + result += '\n```' # Unfinished code block # Unfinished list, like "\n1.". A |delete| string is added and then # removed to force a
.