Open karamkhoury88 opened 1 year ago
Thanks for opening your first issue in Josee9988/project-template! Be sure to follow the issue template and provide every bit of information to help the developers!
The issue seems to be related to special JSON characters, for me it happens to the string "Text: Text". Seems the string boundaries are not respected for these kind character combinations.
I am also noticing this issue. When the value is a string starting with a comma followed by space and a html tag, it removes the space. Also when I use a colon, it removes the space. Here is the JSON that I am testing:
This is the result:
I hope that helps.
π Bug Report
Describe the bug
If the JSON text contains a property value containing a space followed by { e.g. ' {' the minifying process removes this space *
To Reproduce
Let's have a JSON example of : { "Template": "Hello {{NAME}}" }
Minify this JSON will produce the following result: {"Template":"Hello{{NAME}}"}
The space before {{NAME}} is removed
Expected behaviour
the result must be: {"Template":"Hello {{NAME}}"}
Your environment
OS: Windows 11