-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Do not remove whitespace after number #1950
Comments
Hi, I am a beginner. |
@1bsilver |
Is this issue up for grabs? Interested in working on it. |
Where can I find this code for debugging ?? |
Hello, I just went through the folder structure and contributing.MD file. Can you suggest to me where the beautification code is handled for this case, is it in root/js/src/javascript/beautifier.js . |
The fix here is probably to have the handle_dot() check if the previous token was a number and preserve the space. |
Agree with @bitwiseman |
Hi Team, I'm a full stack web developer, I want to contribute these project. First, I will start debug after the number whitespace remove issue. I want to know is there any standard format for creating new branch for bug fix? |
@bitwiseman I do not see much progress on this so far. Also, the PR #1956 has no updates. Could you please let me know if this issue is up for grabs if the previous owner doesn't have plans to work on it? Thanks! |
@bhaveshvasnani |
Thanks!! I'll work on this and also agree that the fix should be in handle_dot() itself. |
Description
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:
Expected Output
The code should have looked like this after beautification:
Actual Output
The code actually looked like this after beautification:
Steps to Reproduce
Environment
OS:
Settings
The text was updated successfully, but these errors were encountered: