From a0121d9429dc905ce6d1b71a376ad588d9e4045b Mon Sep 17 00:00:00 2001 From: Rust1667 <115593284+Rust1667@users.noreply.github.com> Date: Wed, 31 May 2023 18:23:29 +0200 Subject: [PATCH] Update replace-links-to-fmhy-in-files-in-current-dir.py --- .github/replace-links-to-fmhy-in-files-in-current-dir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/replace-links-to-fmhy-in-files-in-current-dir.py b/.github/replace-links-to-fmhy-in-files-in-current-dir.py index 6123eec92..5fe1ea451 100644 --- a/.github/replace-links-to-fmhy-in-files-in-current-dir.py +++ b/.github/replace-links-to-fmhy-in-files-in-current-dir.py @@ -5,7 +5,7 @@ import sys def replaces_for_beginners_guide(text): text = re.sub('\[TOC\]\n', '', text, flags=re.MULTILINE) text = re.sub('\*\*Table of Contents\*\*\n\[TOC2\]\n', '', text, flags=re.MULTILINE) - text = re.sub('# -> ***Beginners Guide to Piracy*** <-\n', '', text, flags=re.MULTILINE) + text = re.sub('# -> \*\*\*Beginners Guide to Piracy\*\*\* <-\n', '', text, flags=re.MULTILINE) text = re.sub(r"!!!note\s(.+?)\n", r"!!!\n\1\n!!!\n", text, flags=re.MULTILINE) text = re.sub(r"!!!info\s(.+?)\n", r"!!!\n\1\n!!!\n", text, flags=re.MULTILINE) text = re.sub(r"!!!warning\s(.+?)\n", r"!!!warning\n\1\n!!!\n", text, flags=re.MULTILINE)