Skip to content

Fixes JSX attribute escaping when parent pointers are missing #35743

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

Merged
merged 2 commits into from
Jan 31, 2020
Merged

Conversation

rbuckton
Copy link
Member

This ensures we use the correct character escaping mechanism when emitting a synthetic or unparented StringLiteral that is the initializer of a JsxAttribute.

Fixes #35054

/** Given a symbol for a module, checks that it is a shorthand ambient module. */

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

look like this diff happened by mistake

@sandersn
Copy link
Member

@rbuckton is this ready to go in?

@rbuckton rbuckton merged commit f24f363 into master Jan 31, 2020
@rbuckton rbuckton deleted the fix35054 branch January 31, 2020 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Printer breaks when there is \ in string literal in jsx attrs
4 participants