Skip to content

Conversation

rbuckton
Copy link
Contributor

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