mirror of
https://github.com/fmhy/edit.git
synced 2026-01-18 01:41:52 +11:00
Update replace.py (#1121)
replace '/#' with '#' which applies to sections in markdown pages, mainly our internal wiki links
This commit is contained in:
parent
bcce13144c
commit
cb82f8a053
1 changed files with 1 additions and 0 deletions
1
.github/replace.py
vendored
1
.github/replace.py
vendored
|
|
@ -96,6 +96,7 @@ def replace_urls(text):
|
|||
text = remove_backtowiki_toc(text)
|
||||
text = replace_pages(text)
|
||||
text = reformat_subsections(text)
|
||||
text = re.sub('/#', '#', text)
|
||||
text = general(text)
|
||||
text = individual(text)
|
||||
return text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue