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

Support for single-quote strings inside double-quote strings #82

Open
therealgilles opened this issue Apr 30, 2021 · 0 comments
Open

Support for single-quote strings inside double-quote strings #82

therealgilles opened this issue Apr 30, 2021 · 0 comments

Comments

@therealgilles
Copy link

therealgilles commented Apr 30, 2021

I am using the following data attribute:

data-replace="{ 'bg-transparent' : 'bg-black' }"

and getting this error:

> 142 | 		data-replace="{ 'bg-transparent' : 'bg-black' }"></div>
      |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expected stringEnd but found text instead.

It would be nice if this was supported.

PS: The syntax is inspired by this post to create simple transitions on page load.

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

1 participant