diff --git a/static/templates/suggestion.json b/static/templates/suggestion.json index 77028f64e..76254dba6 100644 --- a/static/templates/suggestion.json +++ b/static/templates/suggestion.json @@ -1,7 +1,8 @@ [ {{#suggestions}}{{^first}},{{/first}} { - "_comment1": "The url is intentionally placed here and is decoded in ../taskbar.js", + {{! HTML escaping is not disabled for the URL on purpose - otherwise invalid JSON may be produced for a URL containing a double quote. + HTML decoding is performed in the front-end by ../skin/taskbar.js }} "value" : "{{url}}", "label" : "{{label}}" }{{/suggestions}}