From 371a3902be6f4c95401583b742c7af2ac054eb2a Mon Sep 17 00:00:00 2001 From: robertjank Date: Mon, 20 Jul 2020 15:57:29 +0200 Subject: [PATCH] Task PUB-3: Fixed incorrect --- hint x--- tag. --- nttt/tidyup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nttt/tidyup.py b/nttt/tidyup.py index f00789c..b3b0c75 100644 --- a/nttt/tidyup.py +++ b/nttt/tidyup.py @@ -13,7 +13,7 @@ def fix_step(src, dst): content = content.replace("\---", "---") content = content.replace("## ---", "---") content = content.replace("--- hints ---", "--- hints ---\r\n") - content = content.replace(" --- hint x--- ", "--- hint ---\r\n") + content = content.replace(" --- hint --- ", "--- hint ---\r\n") content = content.replace(" --- /hint ---", "\r\n--- /hint ---\r\n") content = content.replace(" --- /hints ---", "--- /hints ---") content = content.replace('{: target = " blank"}', '{:target="blank"}') @@ -91,4 +91,4 @@ def tidyup_translations(folder, output_folder): print("No files found in '{}'".format(folder)) else: - print("Folder '{}' not found".format(folder)) \ No newline at end of file + print("Folder '{}' not found".format(folder))