Skip to content

Commit

Permalink
changed comment to mustache comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MananJethwani committed Mar 18, 2021
1 parent cd002d9 commit e97a89a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion static/templates/suggestion.json
Original file line number Diff line number Diff line change
@@ -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}}
Expand Down

0 comments on commit e97a89a

Please sign in to comment.