ember-template-lint/ember-template-recast

Track and Re-escape Character References

Closed this issue · 3 comments

When we tokenize the ContentStatements any character reference is expanded. This expansion occurs because we create TextNodes instead of setting HTML.

We need someway of tracking and mapping this character references so that we can serialize back currently. Otherwise we get issues like dyfactor/dyfactor-plugin-disambiguate-locals#3

@chadhietala do you need to preserve unnecessary ones?

wondering why you need to track them

glimmerjs/glimmer-vm#834 is a fix for the issue in the printer, I don't think it is an issue with ember-template-recast.