Unescape search response before rendering template

Fixes a small issue with the previous commit where bolded search terms
had the <b> tags escaped, rather than being applied as actual html.
このコミットが含まれているのは:
Ben Busby 2021-10-26 15:00:39 -06:00
コミット d16ef6d011
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 339B7B7EB5333D14
1個のファイルの変更2行の追加1行の削除

ファイルの表示

@ -1,5 +1,6 @@
import argparse
import base64
import html
import io
import json
import pickle
@ -273,7 +274,7 @@ def search():
is_translation=any(
_ in query.lower() for _ in [translation['translate'], 'translate']
) and not search_util.search_type, # Standard search queries only
response=response,
response=html.unescape(str(response)),
version_number=app.config['VERSION_NUMBER'],
search_header=(render_template(
'header.html',