Do not remove whitespace after number
See original GitHub issueDescription
Whitespace after number have been removed, which will case an Uncaught SyntaxError: Invalid or unexpected token
error.
Input
The code looked like this before beautification:
1000000000000000100 .toFixed(0)!=="1000000000000000128")
Expected Output
The code should have looked like this after beautification:
1000000000000000100 .toFixed(0) !== "1000000000000000128")
Actual Output
The code actually looked like this after beautification:
1000000000000000100.toFixed(0) !== "1000000000000000128")
Steps to Reproduce
Environment
OS:
Settings
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
removing white space in numbers when trim and clear doesn't ...
=SUBSTITUTE(A1," ",). works fine, trim and clear do not remove single spaces in the middle of a string. If your space is always...
Read more >3 ways to remove spaces between words / numbers in Excel ...
3 quick ways to remove extra spaces between words or delete all spaces from Excel cells. You can use trim formula, Excel Find...
Read more >How To Remove Spaces from a String In Python - DigitalOcean
You can use the replace() method to remove all the whitespace characters from the string, including from between words. Declare the string ...
Read more >Pandas - Strip whitespace from Entire DataFrame
Parameter: By default it is none and if we do not pass any characters then it will remove leading and trailing whitespace from...
Read more >How whitespace is handled by HTML, CSS, and in the DOM
They don't just disappear, however. Any whitespace characters that are outside of HTML elements in the original document are represented in the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bhaveshvasnani Go ahead and work on it. It can’t hurt.
Thanks!! I’ll work on this and also agree that the fix should be in handle_dot() itself.