-
Notifications
You must be signed in to change notification settings - Fork 40
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
Angle Bracket LinkTo not respecting whitespace formatting #82
Comments
I'm not sure this is going to be something we can fix. As far as I understand what is going on, the I think the best path forward is to provide an API for asking ember-template-recast for an existing nodes "whitespace separator" information and another API to set that info on the newly created node. What do you think? |
As we discussed, an API would be great, but in the meantime rewriting the new LinkTo with no whitespace separator is fine. We can release an improvement to this scenario as soon as one becomes available |
Sounds good, but I’ll keep this open in the meantime to track the broader api work that needs to happen. |
One of the tests from https://github.com/ember-codemods/ember-angle-brackets-codemod/
Before
ember-template-recast
(correct)After
ember-template-recast
refactor (incorrect)The text was updated successfully, but these errors were encountered: