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

[playground][BUG] frontend and backend parse mustaches differently #5501

Open
Tracked by #3435
RogerHYang opened this issue Nov 22, 2024 · 1 comment
Open
Tracked by #3435
Labels
bug Something isn't working priority: low

Comments

@RogerHYang
Copy link
Contributor

RogerHYang commented Nov 22, 2024

To reproduce, enter three pairs of braces, e.g.

{{{x}}}

The frontend thinks the variable name is {x} but the backend thinks it's x, resulting in a mismatch.

Screenshot 2024-11-21 at 8 53 46 PM
@RogerHYang RogerHYang added bug Something isn't working triage issues that need triage labels Nov 22, 2024
@github-project-automation github-project-automation bot moved this to 📘 Todo in phoenix Nov 22, 2024
@RogerHYang RogerHYang changed the title [playground][BUG] frontend and backend parses mustaches differently, resulting in TemplateFormatterError [playground][BUG] frontend and backend parse mustaches differently, resulting in TemplateFormatterError Nov 22, 2024
@RogerHYang RogerHYang added priority: low and removed triage issues that need triage labels Nov 22, 2024
@RogerHYang RogerHYang changed the title [playground][BUG] frontend and backend parse mustaches differently, resulting in TemplateFormatterError [playground][BUG] frontend and backend parse mustaches differently, resulting in mismatch Nov 22, 2024
@RogerHYang RogerHYang changed the title [playground][BUG] frontend and backend parse mustaches differently, resulting in mismatch [playground][BUG] frontend and backend parse mustaches differently Nov 22, 2024
@cephalization
Copy link
Contributor

I was afraid of this when duplicating parsing logic between FE and BE. Will have to more closely observe the spec that BE is applying for each language and update the lezer grammars

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: low
Projects
Status: 📘 Todo
Development

No branches or pull requests

2 participants