We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Text content in HTML is not formatted correctly. The end tag should be prepended with a new line.
The code looked like this before beautification:
<div><div></div>Connect</div>
The code should have looked like this after beautification:
<div> <div></div>Connect </div>
or
<div> <div></div> Connect </div>
The code actually looked like this after beautification:
<div> <div></div>Connect</div>
Go to http://jsbeautifier.org/, paste the code, format.
http://jsbeautifier.org/
Default online settings.
The text was updated successfully, but these errors were encountered:
Yeah, div behaves like p in the output. The beautifier should handle it correctly. Related to some degree to #841 maybe?
div
p
Sorry, something went wrong.
07d746b
More test for fixed issues
a4ca5c4
Fixes beautifier#882 Fixes beautifier#1041 Fixes beautifier#1167 Fixes beautifier#1184
No branches or pull requests
Description
Text content in HTML is not formatted correctly. The end tag should be prepended with a new line.
Input
The code looked like this before beautification:
Expected Output
The code should have looked like this after beautification:
or
Actual Output
The code actually looked like this after beautification:
Steps to Reproduce
Go to http://jsbeautifier.org/, paste the code, format.
Environment
http://jsbeautifier.org/
Settings
Default online settings.
The text was updated successfully, but these errors were encountered: