Update webapp.py

This commit is contained in:
Joseph Cheung 2023-02-23 12:58:58 +08:00
parent 1fbcda58b0
commit f08a73b204

View file

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