From e7a7690843687a2fb3cc89ba6007b621ab7d898a Mon Sep 17 00:00:00 2001 From: Agah Date: Fri, 27 Oct 2023 18:49:45 -0400 Subject: [PATCH] Fix nested append --- api/preprint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/preprint.py b/api/preprint.py index e71c511..ab9733d 100644 --- a/api/preprint.py +++ b/api/preprint.py @@ -570,8 +570,8 @@ def substitute_cite_commands(input_folder="content"): markdown_output += f"{cleaned_paragraph}\n" # Get rid of HTML tags - markdown_output = remove_html_tags(markdown_output) - return markdown_output + markdown_output = remove_html_tags(markdown_output) + return markdown_output def append_bib_files(file1_path, file2_path, output_path): # Read the contents of the first BibTeX file