mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Update webapp.py
This commit is contained in:
parent
efbe909dfa
commit
2e0801f48b
1 changed files with 1 additions and 1 deletions
|
@ -744,7 +744,7 @@ def search():
|
||||||
gptbox = {
|
gptbox = {
|
||||||
'infobox': 'GPT3',
|
'infobox': 'GPT3',
|
||||||
'id': 'gpt'+str(len(prompt)),
|
'id': 'gpt'+str(len(prompt)),
|
||||||
'content': markdown.markdown(gpt,extensions=['footnotes']),
|
'content': markdown.markdown( re.sub( r'\[(\d+)\](?=[^\^])', r'[^\\1]', gpt), extensions=['footnotes']),
|
||||||
}
|
}
|
||||||
result_container.infoboxes.append(gptbox)
|
result_container.infoboxes.append(gptbox)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue