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
.github/replace.py
vendored
1
.github/replace.py
vendored
@ -96,6 +96,7 @@ def replace_urls(text):
|
|||||||
text = remove_backtowiki_toc(text)
|
text = remove_backtowiki_toc(text)
|
||||||
text = replace_pages(text)
|
text = replace_pages(text)
|
||||||
text = reformat_subsections(text)
|
text = reformat_subsections(text)
|
||||||
|
text = re.sub('/#', '#', text)
|
||||||
text = general(text)
|
text = general(text)
|
||||||
text = individual(text)
|
text = individual(text)
|
||||||
return text
|
return text
|
||||||
|
Loading…
Reference in New Issue
Block a user