From 09880f91612dcfca42d610426f9f385142634750 Mon Sep 17 00:00:00 2001 From: Rust1667 <115593284+Rust1667@users.noreply.github.com> Date: Mon, 13 Nov 2023 16:23:32 +0100 Subject: [PATCH] Update replace.py (#1122) Fix internal links that lead to Headers that contain " / " For example in https://fmhy.net/toolsguide#text-tools when clicking on "Note Taking / To-Do" it doesnt lead to the correct subsection --- .github/replace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/replace.py b/.github/replace.py index e6187dd31..3e25e13b5 100644 --- a/.github/replace.py +++ b/.github/replace.py @@ -88,7 +88,7 @@ def reformat_subsections(text): text = re.sub('#wiki_', '/#', text) text = re.sub('.25BA_', '', text) text = re.sub('.25B7_', '', text) - text = re.sub('_.2F_', '--', text) + text = re.sub('_.2F_', '-', text) text = replace_underscore(text) return text