melody icon indicating copy to clipboard operation
melody copied to clipboard

JS function can be called within twig templates

Open DavSeb opened this issue 7 years ago • 1 comments
trafficstars

Explain the problem

Currently it is possible to use JS functions (e.g. parseInt {% for i in range(1, parseInt(data)) %}) in twig templates

Expected Behaviour

The build should fail or at least output a warning

Actual Behaviour

Builds successfully without any warning

DavSeb avatar Aug 03 '18 12:08 DavSeb

@pago I want to work on this. Could you please tell me where can I look up for this issue or from where can I start?

ayusharma avatar Aug 17 '18 12:08 ayusharma