Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS function can be called within twig templates #43

Open
DavSeb opened this issue Aug 3, 2018 · 1 comment
Open

JS function can be called within twig templates #43

DavSeb opened this issue Aug 3, 2018 · 1 comment
Labels

Comments

@DavSeb
Copy link

DavSeb commented Aug 3, 2018

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

@pago pago added the bug label Aug 3, 2018
@ayusharma
Copy link
Collaborator

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants