From 46a8aa8c0986b3c905f6d6ef0cfc91dde709a69a Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Sun, 16 Apr 2023 21:26:19 -0300 Subject: [PATCH] Readability --- modules/html_generator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/html_generator.py b/modules/html_generator.py index ca4f11ff..5f0fd43b 100644 --- a/modules/html_generator.py +++ b/modules/html_generator.py @@ -33,9 +33,11 @@ def fix_newlines(string): string = string.strip() return string + def replace_blockquote(m): return m.group().replace('\n', '\n> ').replace('\\begin{blockquote}', '').replace('\\end{blockquote}', '') + def convert_to_markdown(string): # Blockquote