Update webapp.py

This commit is contained in:
Joseph Cheung 2023-02-19 22:29:44 +08:00
parent e3810d417e
commit bc40e445bc

View file

@ -741,7 +741,7 @@ def search():
for urls in url_pair.keys():
gpt = gpt.replace(urls,url_pair[urls])
if gpt and gpt!="":
for i in range(1,10)
for i in range(1,10):
gpt.replace("["+i+"]","[^"+i+"]")
gpt = markdown.markdown( gpt , extensions=['footnotes'])
for urls in url_pair.keys():