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
The code looked like this before beautification:
<div class="hello"> <p>hello</p> </div>
The code should have looked like this after beautification:
The code actually looked like this after beautification:
The text was updated successfully, but these errors were encountered:
@astronomersiva What settings are you using?
Sorry, something went wrong.
I'm running this with the CLI as
js-beautify -r -s=2 --wrap_line_length=2 --type=html fileName
The same issue is applicable for handlebars as well(with and without the --indent_handlebars flag).
--indent_handlebars
<div class="hello"> {{world}} </div>
Which version of js-beautify? This looks to be fixed in the latest RC (npm install -g js-beautify@next).
npm install -g js-beautify@next
@bitwiseman , thanks a ton for the quick response. Yes, this is fixed in the latest release. Thanks for the great work :)
No branches or pull requests
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:
The text was updated successfully, but these errors were encountered: