Skip to content

Note on escaping single quotes in strings. #161

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

Closed
wants to merge 1 commit into from

Conversation

unkillbob
Copy link
Contributor

No description provided.

@ljharb
Copy link
Collaborator

ljharb commented Dec 23, 2015

The style guide currently recommends using ES6 template string literals for this case. In general, you'd also want to use typographically correct curly quotes (“” / ‘’) which wouldn't require escaping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants