mirror of
https://github.com/fmhy/edit.git
synced 2026-01-18 01:41:52 +11:00
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
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue