Skip to content

Fix template literals escaping issues#577

Merged
giuseppeg merged 2 commits intomasterfrom
fix-tmpl-literals-escaping
Aug 31, 2019
Merged

Fix template literals escaping issues#577
giuseppeg merged 2 commits intomasterfrom
fix-tmpl-literals-escaping

Conversation

@giuseppeg
Copy link
Collaborator

Mistakenly we were using the cooked version of the template element. Hopefully this is an improvement and won't regress in other situations.

For a difference between cooked and raw see https://2ality.com/2016/09/template-literal-revision.html#tag-functions-and-escape-sequences

@giuseppeg giuseppeg requested review from ijjk and lfades August 30, 2019 15:57
Copy link
Member

@ijjk ijjk left a comment

Choose a reason for hiding this comment

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

LGTM 👍

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