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))