-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
bug(handlebars): Idempotency issue #8504
Comments
Anyone want to pair with me on trying to fix this? |
The really weird thing is that this only seems to happen for |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@fisker Would you be up to pairing with me next week to try and figure this out? |
I believe @dcyriller is more familiar with it. Don't worry, If you have problems, everyone will help. |
Ok :) This is the only thing blocking me from going all in on Prettier in the main app I work on. |
This seems to have been caused by this PR: |
This comment has been minimized.
This comment has been minimized.
The bug appears to be in glimmer. In this AST, the TextNode chars attribute is "" instead of "/n". |
This PR is probably the "cause" for this issue: tildeio/simple-html-tokenizer#59 Looking at this code I found that |
This comment has been minimized.
This comment has been minimized.
@dcyriller - Updating to |
Awesome, thank you @rwjblue |
Description
is formatted to
And
is formatted to
Report
Prettier 2.0.5
Playground link
Input:
Output:
Expected behavior (maybe):
The text was updated successfully, but these errors were encountered: