Skip to content
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

🐛 Bug: Escape handling is not correct #95

Open
3 tasks done
tvogel opened this issue Oct 18, 2024 · 0 comments
Open
3 tasks done

🐛 Bug: Escape handling is not correct #95

tvogel opened this issue Oct 18, 2024 · 0 comments
Labels
type: bug Something isn't working :(

Comments

@tvogel
Copy link

tvogel commented Oct 18, 2024

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Expected

This should twice show the same string:

import dedent from "dedent"

console.log(dedent`
  This is broken:
  \\\$`);

console.log(`This is correct:
\\\$`);

Actual

It shows:

This is broken:
\\$
This is correct:
\$

Additional Info

See also: https://playcode.io/2050574

@tvogel tvogel added the type: bug Something isn't working :( label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working :(
Projects
None yet
Development

No branches or pull requests

1 participant