freealise commited on
Commit
5f6dfb8
·
1 Parent(s): 7e10f66

link to dict

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ if sentence:
105
  cells = line.replace('_', '\\_').replace('|', '|').replace(':', ':').split('\t')
106
 
107
  wrd = cells[2]
108
- if wrd != "_":
109
  cells[2] = "<iframe src='https://freeali.se/freealise/translate/index.htm#gsc.q=" + wrd + "&gsc.tab=1&gsc.sort=' width='256' height='128'></iframe><br/>"
110
  cells[2] += "<iframe src='https://freeali.se/freealise/translate/loader.htm?q=" + wrd + "' width='256' height='128'></iframe><br/>"
111
  cells[2] += "<a href='javascript:' onclick=''>" + wrd + "</a>"
 
105
  cells = line.replace('_', '\\_').replace('|', '&#124;').replace(':', '&colon;').split('\t')
106
 
107
  wrd = cells[2]
108
+ if wrd != "\_":
109
  cells[2] = "<iframe src='https://freeali.se/freealise/translate/index.htm#gsc.q=" + wrd + "&gsc.tab=1&gsc.sort=' width='256' height='128'></iframe><br/>"
110
  cells[2] += "<iframe src='https://freeali.se/freealise/translate/loader.htm?q=" + wrd + "' width='256' height='128'></iframe><br/>"
111
  cells[2] += "<a href='javascript:' onclick=''>" + wrd + "</a>"