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
[Glimmer] preserve HTML entities #6234
[Glimmer] preserve HTML entities #6234
Conversation
caebc99
to
b51d97d
Compare
@@ -8,7 +8,8 @@ function parse(text) { | |||
return glimmer(text, { | |||
plugins: { | |||
ast: [] | |||
} | |||
}, | |||
mode: "codemod" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this mode was introduced here: glimmerjs/glimmer-vm#938
@evilebottnawi you approved the PR that this aims to supersede, likely by mistake. Perhaps you could review this one? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
Perhaps we could merge this? Thanks |
fixes: #5300
supersedes #4533
part of jgwhite#1
With the following input:
On master, we get the following incorrect output:
With this PR, the entities are correctly preserved:
(If changing the API or CLI) I’ve documented the changes I’ve made (in thedocs/
directory)CHANGELOG.unreleased.md
file following the template.✨Try the playground for this PR✨