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

Minifying JSON removes spaces around colons inside string values #51

Open
prShadoko opened this issue Oct 30, 2020 · 1 comment
Open
Assignees
Labels
Type: Bug Something isn't working as expected.

Comments

@prShadoko
Copy link

How to reproduce :

  1. Create a JSON file with following content
{
  "key": "string with : spaces around a colon"
}
  1. Minify the document

Expected result:

{"key":"string with : spaces around a colon"}

Actual result:

{"key":"string with:spaces around a colon"}

MinifyAll:
Version: v2.4.9

VSCode:
Version: 1.49.2
Commit: e5e9e69aed6e1984f7499b7af85b3d05f9a6883a
Date: 2020-09-24T16:23:52.277Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Darwin x64 18.7.0

@Josee9988
Copy link
Owner

This is a known issue.

I will try to fix it, but as of now, my time in this project is very limited, but I'll do my best.

Thanks for contributing!

@Josee9988 Josee9988 transferred this issue from Josee9988/MinifyAll Dec 3, 2020
@Josee9988 Josee9988 added the Type: Bug Something isn't working as expected. label May 31, 2021
@Josee9988 Josee9988 self-assigned this May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as expected.
Projects
None yet
Development

No branches or pull requests

2 participants