nopt icon indicating copy to clipboard operation
nopt copied to clipboard

[BUG] Special characters (such as tab and space) do not correctly clean

Open Glavin001 opened this issue 11 years ago • 1 comments

See https://github.com/donaldpipowitch/atom-beautify/issues/16#issuecomment-45970609

Glavin001 avatar Jun 13 '14 03:06 Glavin001

I have an object like the following:

{
  'indent_char': ' '
}

Where indent_char is a space character (' '). After using nopt to clean, it is now an empty string, ''. The same error occurs when using tab, '\t'. Using underscore, '_', works as expected.

Glavin001 avatar Jun 13 '14 03:06 Glavin001