Hi James,

I see no problems with that: +1

Jacques

Le 12/12/2020 à 10:43, James Yong a écrit :
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

Reply via email to