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
This commit is contained in:
parent
cb82f8a053
commit
09880f9161
2
.github/replace.py
vendored
2
.github/replace.py
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user