-
Notifications
You must be signed in to change notification settings - Fork 2k
[CS2] Quotation mark characters are escaped unnecessarily in template literals #4589
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
Comments
Agreed that the Also, |
it's not? i thought |
Nope: http://coffeescript.org/v2/#strings. It’s always been that way, that’s not a v2 thing. CoffeeScript is mimicking Ruby and Bash (among others) in this regard. |
i see. want to close and open a new issue or leave it? |
Up to you. Maybe just edit your first post? |
…es, so that quotation marks are not unnecessarily escaped in backtick-delimited strings/template literals
…at quotation marks are not unnecessarily escaped in backtick-delimited strings/template literals (#4660)
Fixed by #4660. |
"""<div id="unique" onclick="update('#{someVar}')"></div>"""
compiles to
\"
doesn't need escapingThe text was updated successfully, but these errors were encountered: