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

It is necessary to add to make the parser less strict (comma and quotes for properties) #1

Open
aanthonymax opened this issue Nov 10, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed up-for-grabs Extra attention is needed

Comments

@aanthonymax
Copy link
Member

Now, the parser will return an error in the following cases:

hmpl.compile(
  `<div>
      <div>Clicks: {{ src: "/api/clicks", }}</div>
  </div>`
)().response

Often you will have to copy an object from code to a string, and then strict parsing will begin due to JSON.stringify. We need to make it so that you can copy objects in this regard to a string without problems.

@aanthonymax aanthonymax added enhancement New feature or request help wanted Extra attention is needed labels Nov 10, 2024
@aanthonymax aanthonymax added the up-for-grabs Extra attention is needed label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed up-for-grabs Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant