Skip to content

Convert HTML entities to strings (#4125) #4381

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
Aug 21, 2015

Conversation

RyanCavanaugh
Copy link
Member

@@ -7139,4 +7152,260 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
}
}
}

var entities: Map<number> = {
Copy link
Contributor

Choose a reason for hiding this comment

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

const

Copy link
Member Author

Choose a reason for hiding this comment

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

Can't use const here until we fix the bug about TDZ and functions

@mhegazy
Copy link
Contributor

mhegazy commented Aug 20, 2015

👍

RyanCavanaugh added a commit that referenced this pull request Aug 21, 2015
Convert HTML entities to strings (#4125)
@RyanCavanaugh RyanCavanaugh merged commit 65f4ac6 into microsoft:master Aug 21, 2015
@huan086
Copy link

huan086 commented Aug 23, 2016

This doesn't handle the ones with &#

It's crucial as typing { and } in jsx would be a pain without it. I use &#123; and &#125; as the substitute for { and }

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants