Skip to content

Note on escaping single quotes in strings.#161

Closed
unkillbob wants to merge 1 commit intoairbnb:masterfrom
orionhealth:escape-single-quotes
Closed

Note on escaping single quotes in strings.#161
unkillbob wants to merge 1 commit intoairbnb:masterfrom
orionhealth:escape-single-quotes

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

Comments