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

Wrong result when first line has greater indent #1

Open
chris-martin opened this issue Dec 2, 2014 · 1 comment
Open

Wrong result when first line has greater indent #1

chris-martin opened this issue Dec 2, 2014 · 1 comment

Comments

@chris-martin
Copy link

Test case:

unindent('\t\ta\n\tb')

Result:

'a\n\tb'

Expected result:

'\ta\nb'
@ELLIOTTCABLE
Copy link

Solved this (although possibly not in the way you intend.) with #2. Didn't even notice this Issue before patching! :O

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants