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
When a file indented with tabs is formatted with --preserve-blank-lines, there are extra newlines everywhere.
--preserve-blank-lines
This bug can be reproduced on the demo page. Paste the following lines and check Preserve Blank Space.
Preserve Blank Space
<div> <p>Welcome to djLint online!</p> </div>
Note: the p tag is indented with a tab
p
Output:
There should not be an extra blank line above the p tag. The output is correct if you change the indentation of the p tag from a tab to spaces.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Issue
When a file indented with tabs is formatted with
--preserve-blank-lines
, there are extra newlines everywhere.How To Reproduce
This bug can be reproduced on the demo page. Paste the following lines and check
Preserve Blank Space
.Note: the
p
tag is indented with a tabOutput:
There should not be an extra blank line above the
p
tag. The output is correct if you change the indentation of thep
tag from a tab to spaces.The text was updated successfully, but these errors were encountered: