Skip to content

🐛 Bug: Escape handling is not correct #95

@tvogel

Description

@tvogel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: accepting prsPlease, send a pull request to resolve this!type: bugSomething isn't working :(

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions