We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Html entities like '×', '<', '>' are converted to ×, <, > during AST generation. This leads to a problem while during hbs transformations.
'×'
'<'
'>'
×
<
>
Here is the reproduction demo.
The text was updated successfully, but these errors were encountered:
@siva-sundar the glimmer parser creates an abstract syntax tree, not a concrete syntax tree (see https://eli.thegreenplace.net/2009/02/16/abstract-vs-concrete-syntax-trees/), so this is somewhat intended.
you will most likely have to convert those entities back to their escaped values when you pretty print the HBS code
Sorry, something went wrong.
@Turbo87 Thanks
@siva-sundar did you happen to solve this by doing the replacement after printing? If so, perhaps you could point out where that code lives? We'd like to do this in the ember-angle-brackets-codemod too: https://github.com/rajasegar/ember-angle-brackets-codemod/issues/48
ember-angle-brackets-codemod
No branches or pull requests
Html entities like
'×'
,'<'
,'>'
are converted to×
,<
,>
during AST generation. This leads to a problem while during hbs transformations.Here is the reproduction demo.
The text was updated successfully, but these errors were encountered: