Hi all,
Currently interpolation syntax used for freemarker template is ${...}.
This is the same as the interpolation syntax for template literal in
javascript.
As a result, extra coding is needed to escape the interpolation expression for
javascript coding with freemarker template.
Propose to change the use of ${...} to [=...] for freemarker template.
Reference:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
https://freemarker.apache.org/docs/dgui_misc_alternativesyntax.html#dgui_misc_alternativesyntax_interpolation
Regards,
James