You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes it does (see the title and repro steps), but I'd expect the indentation to be the same. Semicolons shouldn't affect indentation since they're optional. I don't re-indent my code when I add/remove ; from my code.
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
/* a */
;
forf()
/* a */
Environment
OS: N/A
Settings
The default settings for http://jsbeautifier.org/
This is the options argument supplied to the
js_beautify
function:The text was updated successfully, but these errors were encountered: