更新 webapp.py

This commit is contained in:
luxtiasco 2023-02-22 22:35:35 +08:00 committed by GitHub
parent 5894af9783
commit d0535e3f2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -987,6 +987,7 @@ new_text=text.replaceAll("","(").replaceAll("",")")
for(let i=prompt.url_pair.length;i>=0;--i) for(let i=prompt.url_pair.length;i>=0;--i)
{ {
new_text = new_text.replaceAll("(url"+String(i),"(https://url"+String(i) ) new_text = new_text.replaceAll("(url"+String(i),"(https://url"+String(i) )
new_text = new_text.replaceAll("(链接url"+String(i),"(https://url"+String(i) )
new_text = new_text.replaceAll("(链接"+String(i),"(https://url"+String(i) ) new_text = new_text.replaceAll("(链接"+String(i),"(https://url"+String(i) )
} }
new_text = replaceUrlWithFootnote(new_text) new_text = replaceUrlWithFootnote(new_text)