f-strings convert to normal strings
Describe the bug
When using the minify tool on ViperIDE to save disk space, the tool renders the f in front of an f-string as an extra character, thus converting the f-string into a normal string.
To Reproduce Steps to reproduce the behavior:
- Go to viper-ide.org.
- Type in some f-strings.
- Enter the tools tab, then hit 'Minify'.
- You will notice that the the f in front of the string is gone.
Expected behavior The minify tool was expected to keep the f-strings, yet it converted them to normal strings, making patching hard, especially if you have a LOT of strings that need placeholders.
Screenshots
That doesn't look like it's using this project to minify. If you put the same code into python-minifier.com does it work like you expect?
Huh. I get the intended result.
But it is dependent on this project, as seen on line 206 of this file..
Also, to clarify, I originally made an issue in the ViperIDE repo, but was redirected here, as seen in this comment.