Skip to content

Commit

Permalink
Merge pull request #1 from robertjank/improvements
Browse files Browse the repository at this point in the history
Task PUB-4: Fixed incorrect --- hint x--- tag.
  • Loading branch information
wheleph authored Jul 21, 2020
2 parents 103e233 + 371a390 commit 7a944f1
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 7a944f1

Please sign in to comment.