diff --git a/static/templates/head_part.html b/static/templates/head_part.html index 3f31d8451..f4b78bfe1 100644 --- a/static/templates/head_part.html +++ b/static/templates/head_part.html @@ -18,6 +18,7 @@ response: function( event, ui ) { for(const item of ui.content) { + item.label = htmlDecode(item.label); item.value = htmlDecode(item.value); } }, diff --git a/static/templates/suggestion.json b/static/templates/suggestion.json index e35d28054..cedb609a3 100644 --- a/static/templates/suggestion.json +++ b/static/templates/suggestion.json @@ -2,6 +2,6 @@ {{#suggestions}}{{^first}},{{/first}} { "value" : "{{value}}", - "label" : "{{& label}}" + "label" : "{{label}}" }{{/suggestions}} ]