Skip to content

Commit

Permalink
Task PUB-3: Fixed incorrect --- hint x--- tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjank committed Jul 20, 2020
1 parent 103e233 commit 371a390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nttt/tidyup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"}')
Expand Down Expand Up @@ -91,4 +91,4 @@ def tidyup_translations(folder, output_folder):
print("No files found in '{}'".format(folder))

else:
print("Folder '{}' not found".format(folder))
print("Folder '{}' not found".format(folder))

0 comments on commit 371a390

Please sign in to comment.