Skip to content

stripIndent removes any run of the "right" number of whitespaces #21

@MWumpusZ

Description

@MWumpusZ

stripIndent(" foo\n\t\tbar")

Results in "foo\nbar"

stripIndent has apparently determined that the ident is "two whitespaces", and will consume such from the beginning of every line of the file - regardless of what kind of whitespace it is.

Almost certainly a very minor corner case, but it still seems incorrect?

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