From a7fea462b00bd18ec12de758f5648d4c19ea0840 Mon Sep 17 00:00:00 2001 From: Veloman Yunkan Date: Wed, 3 Mar 2021 00:41:38 +0400 Subject: [PATCH 1/2] HTML decoding of suggestions in the frontend Since the `value` field of the search suggestion results is HTML escaped/encoded in the backend (see static/templates/suggestion.json) it must be decoded in the frontend. --- static/templates/head_part.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/static/templates/head_part.html b/static/templates/head_part.html index 47b7c7921..3f31d8451 100644 --- a/static/templates/head_part.html +++ b/static/templates/head_part.html @@ -4,6 +4,10 @@