Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Not all escape sequences are supported #109

@NoxHarmonium

Description

@NoxHarmonium

Creating an issue to track the inconsistent support of escape sequences as mentioned here: #97 (comment)

The root cause seems to be because dedent needs to use the raw field which passes strings through without the escape sequences being processed.

A list of escape sequences for regular strings are listed at:

https://mathiasbynens.be/notes/javascript-escapes

A list of extra escape sequences for template strings are mentioned at the bottom of:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals

A possible fix could be https://github.com/iansan5653/unraw (or at least it might be useful to draw inspiration from)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions