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

Error if global javascript contains <% %> in comments #516

Closed
jenkin opened this issue Jul 12, 2022 · 1 comment
Closed

Error if global javascript contains <% %> in comments #516

jenkin opened this issue Jul 12, 2022 · 1 comment
Assignees

Comments

@jenkin
Copy link
Contributor

jenkin commented Jul 12, 2022

To reproduce this issue, simply add the this comment in global javascript: /* <% %> */.

It raises Uncaught Error: Error compiling template code: Error: Could not find matching close tag for "<%". in console on Test or Play.

@videlais videlais self-assigned this Jul 19, 2022
videlais pushed a commit that referenced this issue Jul 19, 2022
@videlais
Copy link
Owner

This is now fixed. Pseudo-global properties have changed, but including tags within comments in Story JavaScript will no longer cause an error.

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

No branches or pull requests

2 participants